Magento,实现下拉属性过滤
所以我是 Magento 的新手,并且仍在努力了解它。基本上我有多个下拉菜单,并尝试在轮播中对产品进行排序。 (参见附图)
我的问题是如何使用 Magento 和 php 来做到这一点。我对ajax部分相当熟悉。但我对Magento的方法不熟悉,希望得到这里专家的建议。使用 Magento 来完成此操作的最佳方法是什么?我可以通过使用所选属性构建动态查询,直接使用 php 轻松完成此操作。 (我确信还有其他方法。)但如果有人能指出我正确的方向。这将帮助我完成这个项目。提前致谢。
So I am new to Magento and still trying to get my get my head wrapped around it. Basically I have multiple dropdowns and am trying to sort products in a carousel. (See attached screenshot)
My question is how would I do this with Magento and php. I am fairly familiar with the ajax part. But I am unfamiliar with Magento's methods and would like suggestions from the experts here. What would be the best way to go about this using Magento to do this. I could do this with straight php pretty easy by building a dynamic query with the selected attribute. (I'm sure there are other ways too.) But if anyone can point me in the right direction. It would help me get this project done. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建了一个下拉过滤器类别
我在 app/desing/frontend/your/theme/template/catalog/product/list/toolbar.phtml 中的第 50 行左右
如果你替换里面的所有代码
希望
你会发现它有用
I made a dropdown filter category
Around line 50 in app/desing/frontend/your/theme/template/catalog/product/list/toolbar.phtml
If you replace all the code inside
For
hope you find it useful