Jump to content

Wrong image added to cart with products with combinations


Recommended Posts

Hello, when I add to the cart a product that has combinations, it does not assume the image of the combination, it assumes the cover image, how can I change this configuration?

Take the following images as an example, my cover image is the blue bag, when I add the white color to the cart, it assumes the cover color (blue) and when I add the black color, it assumes the same color as the blue bag (cover), since is the product cover. How do I take the image that I have in the combination when I add it to the cart?

 

Capturar 1.PNG

Capturar 3.PNG

Capturar 4.PNG

Link to comment
Share on other sites

11 minutes ago, Ress said:

Can you post the image related code from /themes/active_theme/modules/ps_shoppingcart/modal.tpl ?

I got it thanks. Follow these changes: Improve CartPresenter performance, and allow Order to retrieve default_image by PierreRambaud · Pull Request #24430 · PrestaShop/PrestaShop (github.com)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...