Skip to content

[FIX] website_sale wrong images displayed in products view when quick info is...

Renzo Meister requested to merge jamotion/flectra:fix/website_sale into master

Description of the issue/feature this MR addresses:

If you enable product quick info in shop and your products have multiple variants with different images per variant the images shown at product list are totally wrong. The error results in bad jQuery selector "clostest" which selects the image of previous product and changes the image there.

Current behavior before MR:

The javascript of product quick info changes also the product image in products overview instead of showing the image of product template.

Desired behavior after MR is merged:

The images in product list are not changed by javascript so the image of product.template will be shown.

Merge request reports