I was wondering if there could be a way to assign the category image to all products under it. I would like the image to be shown when you enter the product details but also when you add to cart, view cart.. etc...

The code I have for now only changes the image in the product details, which is fine but I'll have to do the same job in 3 diferent places in order to have this issue fixed and there might be another way someone has used before.

enter image description here

enter image description here

I believe there must be another way to assign this images other than modifying the phtml everywhere.

Your Answer

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

Browse other questions tagged or ask your own question.