Projekt

Allgemein

Profil

Aktionen

GX-Bug #68490

geschlossen

The product listing in the Gambio Shop can trigger a JavaScript error | Beim Aufruf einer Kategorie mit Produkten kann es zu einem JavaScript-Fehler kommen

Von Moritz Bunjes vor fast 3 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Alexandre Ataides
Kategorie:
Frontend
Zielversion:
% erledigt:

0%

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

Beim Aufruf einer Kategorie mit Produkten kann es nicht mehr zu einem JavaScript-Fehler kommen


Beschreibung

The JS cart_handler-Widget is causing an error, if the product listing is shown and a product has attributes to select (see attached screenshot).

  1. Gambio Admin > Module Center: install Product Options module
  2. Gambio Admin > Catalog > Product Options: create option "color" with the values "red" and "blue"
  3. create a new product in a category and assign the options red and blue
  4. Edit the category and activate the display of attributes
  5. Open the category in the Gambio Shop with opened Browser Console

Expected result
No error in the console

Actual result
The console shows an error

For testing run yarn theme:scripts and rebuild the page cache.


Dateien

2021-04-07_16-54.png (283 KB) 2021-04-07_16-54.png error in console Moritz Bunjes, 07.04.2021 16:56
Bildschirmfoto von 2021-04-07 17-01-16.png (56,2 KB) Bildschirmfoto von 2021-04-07 17-01-16.png assign product options Moritz Bunjes, 07.04.2021 17:03
2021-04-07_17-02.png (117 KB) 2021-04-07_17-02.png activate display of attributes Moritz Bunjes, 07.04.2021 17:03

Aktionen #1

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #2

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

  • Beschreibung aktualisiert (Vergleich)
  • Status wurde von In Bearbeitung zu 30 geändert
  • Zugewiesen an wurde von Moritz Bunjes zu Core-Entwickler geändert
Aktionen #5

Von Alexandre Ataides vor fast 3 Jahren aktualisiert

  • Zugewiesen an wurde von Core-Entwickler zu Alexandre Ataides geändert
Aktionen #6

Von Alexandre Ataides vor fast 3 Jahren aktualisiert

  • Status wurde von 30 zu Testing geändert
Aktionen #7

Von Alexandre Ataides vor fast 3 Jahren aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen #8

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

  • Tags 4.4.0.1 wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF