Magento - how to retrieve bundled option images

前端 未结 1 1269
臣服心动
臣服心动 2021-01-02 22:19

I\'ve been working on my first magento deploy. Got a pretty customized theme built up... tackling some of the non-standard customizations now:

One of my primary pro

相关标签:
1条回答
  • 2021-01-02 22:59

    The product_id in the $_selections represents the id of the selected simple product. So all to do is:

    1. take the product_id of the $_selections,
    2. load the product by this product_id
    3. give the resulting product object to Mage_Catalog_Helper_Product::getImageUrl.
    0 讨论(0)
提交回复
热议问题