问候,
我很不幸需要这个:
Product has (lets say) 6 attributes with "Yes/No" values.
I need a dropdown on that product's page that will populate with attributes with "yes" value.
attributes are :bundle1,bundle2....,bundle6.
When selection is made - I need to know whats have been selected to pass that to php on that page.
我不知道 Magento 中预先存在什么(就 Ajax 片段而言)可用于此,正在寻找解决方案......
我使用了额外的 request.js 并从 DB 中新创建的表中提取属性(手动,用于 1 个产品,仅用于测试)并且它有效。但是,这不是主意,我不想每次都手动进行。
语法正在杀死我。
谢谢你。