简体   繁体   English

Magento,在分层导航中显示是/否属性过滤器

[英]Magento, Display Yes/No attribute filter in the layered navigation

I have created New attribute as Yes/No type in the Magento admin. 我在Magento管理员中创建了New属性为Yes / No type。 I just would like to display this attribute in the frontend, but Magento doesn't support Yes/No type attribute for Use In Layered Navigation. 我只想在前端显示此属性,但Magento不支持在分层导航中使用的是/否类型属性。

Anyone help me to do it? 有人帮我做吗?

You could add it as a dropdown, and then add just two options, Yes and No. 您可以将其添加为下拉列表,然后只添加两个选项,是和否。

That would be a very easy work around :) 这将是一个非常容易的工作:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM