We use bundle products for selling pre made product packages. Customer can't change the qty of each bundle item attached and price is fixed, so they are fixed packages. We need a way to automatically display the sub products' images along with the main bundle product's images so that we don't need to add all sub product's images manually to the bundle product.
For this you need to change in the magento default files.
Here's how you can make it work:
1. Get all the bundel items id
2. Load the product bu id
3. And display the image where you want.
Sorry can you explain more simple what to do to make image change according to option selected in bundled products?
This was actually not what I had in mind. I need the thumbnail images of all selections shown as default on product page same as the normal product thumbnails.
You want to display bundle item images with more view images of main item, right?
For this, first of all you need to get the simple item id and then load that product image with the main product image.
And you need to make changes in this file:
orry the aswer was for me or him? I go to see the media file but I don't understand where to modify it. And also, if I update magento? What happen?