简体   繁体   English

Magento-从“ X”商店类别填充下拉列表

[英]Magento - Populate a dropdown from 'X' Store categories

I am in the process of customising our search filters on our Multi-Domain Magento install and was wondering how I can populate a dropdown with the category titles from a store depending on what store/domain you are on. 我正在自定义多域Magento安装上的搜索过滤器,并想知道如何根据您所在的商店/域,如何使用商店中的类别标题填充下拉列表。

Probably a simple query but have so much going on at the moment I can't think where to start! 可能是一个简单的查询,但是现在发生了很多事情,我不知道该从哪里开始!

Thanks 谢谢

指定商店后(可能使用基于域的开关),您应该能够获得与该商店ID关联的类别的集合。

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

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