Magento:某些属性未显示在类别页面中
Magento: some attributes not show in the category page
我有 Magento 1.9.1,我为我的产品创建了一些新属性。
我在 "Frontend Proprieties" 的 "Use in Layered navigation" 中 select 编辑了 "Filtrable (with results)"。我的产品具有此属性的值,但此属性不在类别页面的左栏中!
如果我 select "Filtrable (without results)",我看到属性但结果为零:
我的属性
- 值 1 (0)
- 值 2 (0)
- 值 3 (0)
为什么?
很可能,您需要重新索引您的属性。您可以通过 Magento 的 indexer.php
脚本快速轻松地完成此操作:
php -f shell/indexer.php -- --reindex catalog_product_attribute
请将管理员属性属性“在前端的产品视图页面上可见”设置为“是”并且再次检查。
我有 Magento 1.9.1,我为我的产品创建了一些新属性。 我在 "Frontend Proprieties" 的 "Use in Layered navigation" 中 select 编辑了 "Filtrable (with results)"。我的产品具有此属性的值,但此属性不在类别页面的左栏中! 如果我 select "Filtrable (without results)",我看到属性但结果为零:
我的属性 - 值 1 (0) - 值 2 (0) - 值 3 (0)
为什么?
很可能,您需要重新索引您的属性。您可以通过 Magento 的 indexer.php
脚本快速轻松地完成此操作:
php -f shell/indexer.php -- --reindex catalog_product_attribute
请将管理员属性属性“在前端的产品视图页面上可见”设置为“是”并且再次检查。