开发者

Getting a subcategory by a category name in Magento

I have a category called "designers" that has N subcategories; the des开发者_JS百科igner names. For a given product, I want to extract all the designer names. So

    For current product instance, show active/selected subcategories by category 'designer'

How is this accomplished in Magento? I've search and tried at least 5x different google results and none seem to get me the correct answer.

TIA.

Edit:

Category

  • Designers

    Sub-Category

    • D1

    • D2

Product

  • P1 contains (Designers->D1)

So, for P1, I'd like to get the value D1.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜