This issue has been migrated from the Forge. Read the original ticket here.
So you have two shops in presta multistore. Shop-A and shop-B with some product in each shop. When you are in Shop-A put some product with pictures to your cart, you will see the product with image, thats OK. Then switch to shop-B add some product. Now you will se product from shop-B with picture in cart but image of product from shop-A disapear.聽
You can switch between shops and check carts you will see product mini image in cart only for product from actual selected shop you are in.
I am using multistore shops with diferent domains not with virtual directories.
N/A
This comment has been migrated from the Forge. Read the original comment here.
Hi Tom谩拧,
Thanks for your report.
I manage to reproduce the issue with PS1.7.4.1/1.7.3.4.
We will see how to fix it.
Best regards, Khouloud
This comment has been migrated from the Forge. Read the original comment here.
So I have a fix but its not for pull request someone who know presta well will do it better, but this could help聽![]()
/src/Adapter/Image/ImageRetriever.php - method聽getProductImages
from:
to:
to:
This comment has been migrated from the Forge. Read the original comment here.
Hi Tom谩拧,
Would you be willing to make a pull request on GitHub with your code suggestion?
https://github.com/PrestaShop/PrestaShop/tree/develop
Thank you!
Best regards, Khouloud
This comment has been migrated from the Forge. Read the original comment here.
Hi Khouloud,
Yes I can but as you can see its hard-coded, so devs dont want to do it this way, probably? If you thing I should do it anyway let me know.
Hi sroubek.
Your fix works excellent. Related to this issue there is a problem with the links to the product page from cart in multistores. The links that cart shows point to the current selected shop and not to the shop where the product is registered.
Have you got any fix to this problem.
Thank you
Rafael
Most helpful comment
Hi sroubek.
Your fix works excellent. Related to this issue there is a problem with the links to the product page from cart in multistores. The links that cart shows point to the current selected shop and not to the shop where the product is registered.
Have you got any fix to this problem.
Thank you
Rafael