Projekt

Allgemein

Profil

Aktionen

GX-Bug #68057

offen

The rules for adding a product to the cart on the product details page should also apply to categories | Die Regeln zum Ablegen eines Artikels in den Korb auf der Artikeldetailseite sollten auch für Kategorien gelten

Von Moritz Bunjes vor fast 4 Jahren hinzugefügt. Vor etwa 3 Jahren aktualisiert.

Status:
Anerkannt
Priorität:
Normal
Zugewiesen an:
-
Kategorie:
Frontend
Zielversion:
-
% erledigt:

0%

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

Beschreibung

It is possible to add a product with attributes from the product listing to the cart eventhough it is not in stock. This should not be possible, if the checkout is not allowed and the stock check before cart option is enabled.

Steps to reproduce:

  1. Modules > Module Center > install the Product Options (Artikelattribute) module
  2. create an attribute option Color with the values red and blue
  3. create or update a category with the option enabled to show attributes
  4. create a product with a stock of 0 in this category
  5. assign the attribute option values to this product having also a stock of 0
  6. ensure that the stock settings don't allow to buy products being out of stock and activate the stock check before cart
  7. open the category in the shop, switch to the list view and try to add the product to the cart

Expected result:
A warning appears that the product is out of stock (like it is the case for products without attributes, similar to the behaviour on the product detail page)

Actual result:
The product is added to the cart


Dateien

2020-12-10_17-38.png (103 KB) 2020-12-10_17-38.png Moritz Bunjes, 11.12.2020 13:06
2020-12-10_17-37_1.png (96 KB) 2020-12-10_17-37_1.png Moritz Bunjes, 11.12.2020 13:06
2020-12-10_17-37.png (50,5 KB) 2020-12-10_17-37.png Moritz Bunjes, 11.12.2020 13:06
2020-12-10_17-35.png (46,6 KB) 2020-12-10_17-35.png Moritz Bunjes, 11.12.2020 13:06
Bildschirmfoto von 2020-12-10 17-34-57.png (24,4 KB) Bildschirmfoto von 2020-12-10 17-34-57.png Moritz Bunjes, 11.12.2020 13:06
2020-12-11_13-09.png (38,6 KB) 2020-12-11_13-09.png Moritz Bunjes, 11.12.2020 13:10

Aktionen

Auch abrufbar als: Atom PDF