Projekt

Allgemein

Profil

GX-Bug #66452

Von Ulrich Wenk vor etwa 4 Jahren aktualisiert

Divison by Zero auf der Startseite im Shop wenn man VPE nur im Hauptartikel konfiguriert hat und Attribute ohne VPE nutzt 

 Im Hauptartikel eine Verpackungseinheit definieren und einen Wert eintragen 
 Option "Anzeige VPE" aktivieren 
 Attribute definieren ohne VPE alles leer lassen 
 Die Startseite aufrufen 
 Fehler "Division by Zero" wird angezeigt. 

 Zusatz: 
 Die Option GM_SET_OUT_OF_STOCK_ATTRIBUTES (Attributlagerbestand hinter jedem Attribut-Optionswert anzeigen?) muss ebenfalls aktiv sein. 


 ________ 

 **EDIT** 06.04.2020 


 Preconditions: 

 * go to Modules > Mordules Center, install Product Options, create a product option with option values 


 1. go to Catalog > Packing Unit, create a Packing Unit 
 2. go to Catalog > Categories / Products, create a product 
 3. in the product, activate 'Show Unit Price', assign the Packing Unit to the product, assign the product options to the product 
 4. don't assign any packing units in the product options, only in the main product 
 5. the error could possibly be dependant on the setting Shop Settings > Stock Options > Show Stock Attributes TRUE/FALSE, alter this setting if the error doesn't occur 
 7. call the starting page of the shop 

 result: 

 * ```WARNING(2): "Division by zero"``` is displayed multiple times, starting page is broken, see screenshot

Zurück