Projekt

Allgemein

Profil

GX-Bug #68457

Von Till Tepelmann vor etwa 3 Jahren aktualisiert

Button "In den Warenkorb" wird ist nicht deaktiviert, wenn noch keine Eigenschaft ausgewählt wurde, was dazu führt, dass beim Klicken der Button deaktiviert wird und der Kauf nicht fortgesetzt werden kann, man muss erst die Seite neuladen um dann wieder eine Eigenschaft wählen zu können damit der Button "In den Warenkorb" wieder aktiv wird. 

 Kann wie folgt reproduziert werden: 

 1. Artikel anlegen 
 2. Eigenschaften zuweisen 
 4. In den Eigenschafften "Einstellungen" die Option "Bestandsprüfung" auf "Artikelbestand" umstellen 
 5. Den Artikel in Shop aufrufen 
 6. Der Warenkorb Button ist sichtbar und nicht deaktviert 
 7. In den Warenkrob klicken ohne eine Eigenschaft zu wählen 
 8. Der Button deaktiviert sich und bleibt deaktiveirt auch wenn man eine Eigenschaft wählt 

 Erwartetes Ergebnis: 
 Der Button "In den Warenkorb" auf dem Artikeldetailseite ist deaktiviert wenn man noch keine Eigenschaft gewählt hat un abhängig ob der Bestand des Artikels oder ob der Bestand der Kombination geprüft wird. 
 Der Button darf erst "aktiv" werden, wenn man eine gültige Kombination gewählt hat 

 Tatsächliches Verhalten: 
 Der Button "In den Warenkorb" ist immer aktiv und kann geklickt werden auch wenn man noch keine gültige Eigenschaft gewählt hat, was dazu führt, dass der Button nach dem Klick deaktiviert ist und erst durch ein Neuladen der Seite wieder klickbar wird. 

 ------ 

 Button "Add to cart" is not deactivated if no property has been selected yet, which leads to the fact that when clicking the button is deactivated and the purchase cannot be continued, you one must first reload the page to then you are be able to select a property again so that the button "Add to cart" becomes active again. 

 Can be reproduced as follows: 

 1. create product 
 2. assign properties 
 4. in the properties "settings" change the option "stock check" to "article stock" 
 5. open the product in the shop 
 6. the shopping cart button is visible and not disabled 
 7. click in the add to cart without selecting any property 
 8. the button is deactivated and remains deactivated even if you select a property. 

 Expected result: 
 The button "Add to cart" on the product detail page is deactivated if no property is selected and depending on whether the inventory of the product or the inventory of the combination is checked. 
 The button is not allowed to become "active" until you have selected a valid combination. 

 Actual behavior: 
 The "Add to Cart" button is always active and can be clicked even if you have not yet selected a valid property, which results in the button being disabled after the click and only becoming clickable again by reloading the page.

Zurück