Magento Tips: How To Add A Picture Gallery For Every Product Item In The Collection

February 20, 2013 Aleksander Tretjak Tips&Tricks
Magento Tips: How To Add A Picture Gallery For Every Product Item In The Collection

The default Magento product collection does not include a picture gallery for each product. That is why if we try to display the existing product pictures we will see the images which have been set by default in the Magento admin panel.

So, in case we need to have a picture gallery for every product item in the collection, the right thing to do this is to attach catalog_product_collection_load_after to the event and upload a gallery for each item:

 Static Version

Download Collection Gallery from GitHub



Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *