thelia/product-loop-attribute-filter-module

2.0.0 2022-10-17 13:34 UTC

This package is auto-updated.

Last update: 2024-09-18 11:37:46 UTC


README

为产品循环添加按属性过滤的可能性

安装

手动

  • 将模块复制到 <thelia_root>/local/modules/ 目录,并确保模块名称为 ProductLoopAttributeFilter。
  • 在Thelia管理面板中激活它

Composer

将其添加到主Thelia composer.json文件中

composer require thelia/product-loop-attribute-filter-module:~1.0.0

循环

### 循环产品

新输入参数

输出参数

http://doc.thelia.net/en/documentation/loop/product.html

示例

{loop attribute_extend=true attribute_availability="64" attribute_min_stock=1 name="product" type="product" visible="*"}

{/loop}