i am using magento version. Normally mangeto behave when user click on the different color or size in configurable product case system show the specific image against every color if specific color image is not upload than system display the default image. But My client requirement is when user click on the different color or size in configurable product which image is not upload than system should be display 'No Image or Blank Image' instead of default image. Because customer confuse against colors.

Can someone know how can i do this?


1 Answer 1


Hello I dont know the complete answer for this But I can help you somehow

this class class Mage_ConfigurableSwatches_Helper_Mediafallback is responsible for media image for configurable product

Please debug in this file you will get the solution from this class only

  • can you please let me know the file path? Sep 21, 2016 at 8:00
  • app/code/Mage/ConfigurableSwatches/Helper/Mediafallback.php Sep 21, 2016 at 8:01
  • thanks. i just try to edit the code but its not effect on image. //search by store-specific label and then default label if nothing is found $imageKey = array_search($map['label'], $imageHaystack); if ($imageKey === false) { $imageKey = array_search($map['default_label'], $imageHaystack); } Sep 21, 2016 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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