Projekt

Allgemein

Profil

Aktionen

GX-Bug #70194

geschlossen

When selecting a variant on the product detail page, the first image of an associated image collection should be preselected | Bei der Auswahl einer Variante auf der Produktdetailseite soll das erste Bild einer zugehörigen Bildsammlung vorausgewählt werde

Von Alexandre Ataides vor mehr als 1 Jahr hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Frontend
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.7.2.0 beta1
Release Notes Langtext:

Bei Auswahl einer Variante, wird das passende Bild jetzt zuverlässiger vorausgewählt


Beschreibung

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
  2. 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
      2. Gravur
        • Ohne Gravur
        • Mit Gravur
  3. 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
    2. 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
      2. 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
        2. Altsilber Image Collection
          • silver_front.jpg
          • silver_back.jpg
        3. Bronze Image Collection -> Bronze/ohne Gravur and Bronze/mit Gravur
        4. Altsilber Image Collection -> Altsilber/ohne Gravur and Altsilber/mit Gravur
  4. Call the product page on the Shop
  5. 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


Dateien

silver_back.jpg (10,9 KB) silver_back.jpg Alexandre Ataides, 14.12.2022 08:10
silver_front.jpg (11,1 KB) silver_front.jpg Alexandre Ataides, 14.12.2022 08:10
bronze_front.jpg (14,7 KB) bronze_front.jpg Alexandre Ataides, 14.12.2022 08:10
bronze_back.jpg (14,4 KB) bronze_back.jpg Alexandre Ataides, 14.12.2022 08:10


Zugehörige Tickets

Beziehung mit GX-Entwicklung - GX-Task #69469: When selecting a product option on the product detail page, the first image of an associated image collection should be preselected | Bei Auswahl einer Zusatzoption auf der Artikeldetailseite sollte das erste Bild der Bilderkollektion vorausgewählt seinErledigtMarvin Muxfeld

Aktionen
Aktionen #1

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Beziehung mit GX-Task #69469: When selecting a product option on the product detail page, the first image of an associated image collection should be preselected | Bei Auswahl einer Zusatzoption auf der Artikeldetailseite sollte das erste Bild der Bilderkollektion vorausgewählt sein wurde hinzugefügt
Aktionen #2

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

  • Tags wurde auf 4.7.2.0_final gesetzt
  • Beschreibung aktualisiert (Vergleich)
  • Status wurde von In Bearbeitung zu Testing geändert
  • Zielversion wurde auf 4.7.2.0 gesetzt
  • Release Notes Langtext aktualisiert (Vergleich)
  • Betroffene Versionen 4.7.2.0 beta1 wurde hinzugefügt
  • Betroffene Versionen Unbestimmt wurde gelöscht
Aktionen #4

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Datei silver_back.jpg wurde gelöscht
Aktionen #5

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Datei silver_front.jpg wurde gelöscht
Aktionen #6

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Datei bronze_front.jpg wurde gelöscht
Aktionen #7

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Datei bronze_back.jpg wurde gelöscht
Aktionen #8

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

Aktionen #9

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Zugewiesen an Alexandre Ataides wurde gelöscht
Aktionen #10

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Status wurde von Testing zu Erledigt geändert
  • Zugewiesen an wurde auf Ahmed Hamouda gesetzt
Aktionen #11

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

  • Tags 4.7.2.0_final wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF