开发者

How to show thumbnails of simple products in configurable products with Magento

开发者 https://www.devze.com 2023-01-13 22:13 出处:网络
I want to show each simple product\'s thumbnail image and option name w开发者_运维百科ith a radio button to select in configurable products. Default behavior is showingoptions in text with a widget li

I want to show each simple product's thumbnail image and option name w开发者_运维百科ith a radio button to select in configurable products. Default behavior is showing options in text with a widget like dropdown box. I am using Magento Community Edition 1.4.1. Are there anybody has done this before? Could you guide me for a right direction?


The default behavior is to have these in dropdown format with the images changing to that of the simple product's image using Javascript. If you want to change that functionality, you are going to need to change the helper that creates those options.

I don't have a clean install on mine, and I've got a module completely overwriting the options portion, but what you will need to do is find where the configurable product information is displaying those drop down fields and change them to radio with the simple product image. I'm sorry I don't have specifics for you, but that should get you started.


An example of what is being asked can be seen here in the form of a live demo:

Note: the thumbnails as options under the "Pick a vase:" section.

http://products.proflowers.com/tulips/MultiColored-Tulips-4811?ref=homenoref&viewpos=1&trackingpgroup=mdt&psrid=975370

0

精彩评论

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