0

i am using magento 1.9.2.3 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?

thanks

1 Answer 1

0

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

3
  • can you please let me know the file path? Commented Sep 21, 2016 at 8:00
  • app/code/Mage/ConfigurableSwatches/Helper/Mediafallback.php Commented 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); } Commented Sep 21, 2016 at 9:00

Your Answer

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

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