Projekt

Allgemein

Profil

GX-Bug #70194

Von Moritz Bunjes vor etwa 2 Jahren aktualisiert

When a variant with an Image Collection attached is selected in the Store, the selected image is displayed incorrectly. 

 Steps to reproduce: 
 1. Install a fresh v4.7.2.0 shop 
 1. Go to Admin > Catalog > Options 
     1. Create 2 options with the display type "Dropdown", each option must have 2 values (see example below): 
         1. Medaillenfarbe 
             * Bronze 
             * Altsilber 
         1. Gravur 
             * Ohne Gravur 
             * Mit Gravur 
 1. Go to Admin > Catalog > Categories/Products 
     1. Create a new product 
         - Add the 3 of the attached images to the product: _bronze_front,jpg, silver_back.jpg and bronze_back.jpg_ respectively 
         - Hit save 
     1. Go to the created product and click on the `Variants` tab 
         1. Select the 2 options, which were created before and click on `Create variants automatically` 
         1. After creating the variants, we need to create and attach 2 new Image Collections to the variants (https://developers.gambio.de/manual.html?v=4.7.2.0_beta1#kollektionen): 
             1. Bronze Image Collection 
                 - bronze_front.jpg 
                 - bronze_back.jpg 
             1. Altsilber Image Collection 
                 - silver_front.jpg 
                 - silver_back.jpg 
             - Bronze Image Collection -> Bronze/ohne Gravur and Bronze/mit Gravur 
             - Altsilber Image Collection -> Altsilber/ohne Gravur and Altsilber/mit Gravur 
 1. Call the product page on the Shop 
 1. Select the Medaillenfarbe (any) 

 Expected: The first image should be selected and displayed 
 Actual: The second image is being displayed as soon as we select a Medaillenfarbe value. 

 For testing run `yarn theme:scripts` and `yarn theme:scripts --theme Honeygrid`

Zurück