As you know, in current magento version, image of associated products could not be derived from the configurable product, thus we had to manually upload the product image again. Imagine that we are going to create hundreds or thousands simple products. This is very time consuming.

My question, is there any extension or good solution for this issue? Like say, while creating associate product, there an option for us to tick if we want to use configurable product image for the new associate product. Then if choosing yes follow by clicking on save button, system would store the same image path (record) into database for the new associated product.

Thank you for your kind attention.

Kind Regards.

  • What is the Magento version which you are using? – Sukeshini Jan 7 '14 at 9:10
  • Hi Sukeshini.. Im using magento version – Leongelis Jan 7 '14 at 9:13
  • Try this. stackoverflow.com/questions/5060821/… – Sukeshini Jan 7 '14 at 9:19
  • I read that thread before. Jonathan Day's solution is workable, but we need to change in many places, eg: media.phtml, listing.phtml, related.phtml, etc. It would be much better if system would also insert image path record for the new associated product when creating associate product. – Leongelis Jan 7 '14 at 9:34
  • Deeply appreciate if someone could advice on this. – Leongelis Jan 7 '14 at 13:59

I highly recommend a free extension called Simple Configurable Products (SCP). This extension allows you to show different images, descriptions, prices, etc depending on which attribute is selected. It also allows more advanced pricing and simpler adding of configurable products to the system. Overall, it saves time and makes the buying process easier...which is what eCommerce development is about!

More specific to your question, I believe the extension will default back to the simple product image if the child product doesn't have an image associated with it.

The only caveat with using this extension is that the extension has not been updated for a while, so you have to apply some patches for it to with with newer versions. These are easy updates. I have the extension working great with 1.8.1.

Install Process:

  1. Install Simple Configurable Products on Magento Connect:
  2. Fix indexing by replacing the file app/code/community/OrganicInternet/SimpleConfigurableProducts/Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price/Configurable.php contents with this: http://pastebin.com/spVj88T4
  3. Update the file app/code/community/OrganicInternet/SimpleConfigurableProducts/Checkout/Block/Cart/Item/Renderer.php with:

    class OrganicInternet_SimpleConfigurableProducts_Checkout_Block_Cart_Item_Renderer extends Mage_Checkout_Block_Cart_Item_Renderer
        protected function getConfigurableProductParentId() //U PDATED
            $parentIds = Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($this->getItem()->getProductId());
            if($parentIds[0]) {
                return $parentIds[0];
            return null;
| improve this answer | |
  • Appreciate. I will try out with your detail solution and let you know. Again, many thanks iJeep. – Leongelis Jan 13 '14 at 3:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.