我在 magento1.9.0.1 中为该产品添加了三个custom options
。他们是
Title: Brand, type: drop down, values: b1, b2, b3
Title: Model, type: drop down, values: m1, m2, m3
Title: Color, type: drop down, values: c1, c2, c3
在产品页面中,我必须使用自定义选项Brand
的值。 $_option
对象包含产品的所有详细信息。从$_option
对象我只需要检索Brand values
。
我想显示b1, b2, b3
。
使用$_option->getId();
我可以获得custom option id
。 $_option->getTitle()
给出了title
custom option.
如何从particular custom option values
获取$_option object
(我知道其自定义选项ID)。
请帮帮我......