开发者

Magento get product variations/options with PHP

开发者 https://www.devze.com 2023-03-21 02:37 出处:网络
I am trying to get product variations for each child product on the view.phtml page. Essentially, the drop-down of options for a configurable product are made of these values.For example - A t-shirt m

I am trying to get product variations for each child product on the view.phtml page.

Essentially, the drop-down of options for a configurable product are made of these values. For example - A t-shirt might have 3 sizes: small, medium, and large. The drop-down list that Magento has built-in, shows these 3 options (children products).

I am looking for the code to get these options.

I apologize if this is not very clear, the terminolog开发者_如何转开发y for the Magento products is confusing. Just let me know if you need more details clarified.


I know its been a while. But I had similar problem while creating a script to export products a long with its children, options and prices.

This should get you started: http://fuckyeahcoding.wordpress.com/2011/10/13/easy-magento-csv-product-feeds/

0

精彩评论

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