Projekt

Allgemein

Profil

Aktionen

GX-Bug #67299

geschlossen

Deactivated items can be purchased if they are placed in the basket during an active session and then deactivated by the admin.

Von Till Tepelmann vor fast 4 Jahren hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
-
Kategorie:
Checkout
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.1.1.0, 4.1.1.1, 4.1.1.2, 4.1.1.3
Release Notes Langtext:

Deaktivierte Artikel können nun nicht mehr in den Warenkorb gelegt werden.

Tags:

Beschreibung

Deaktivierte Artikel können gekauft werden, wenn diese wärend einer aktiven Session in den Korb gelegt werden und dann vom Admin deaktiviert werden.
Der eingeloggte Kunden kann, solange seine Session noch aktiv ist und der Arttikel im Korb ist, den Kaufprozess abschließen obwohl der Artikel vom Admin bereits deaktiviert wurde.

Kann wie folgt reproduziert werden:

  1. Erstelle einen Artikel und aktiviere diesen.
  2. Logge dich mit einem anderen Benutzer oder erstelle ein neues Kundenkonto
  3. Lege den Artikel mit den neuen Benutzer in den Korb
  4. Als Admin deaktiviere den Artikel jetzt
  5. Der noch eingeloggte Kunde hat den Artikel noch im Korb
  6. Gehe zur Kasse mit den eingeloggten Kunden und bestelle den Artikel
  7. Die Bestellung wird ohne Probleme abgeschlossen. Das ist nicht korrekt.

Lösungsvorschlag:

Deaktivierte Artikel wärend einer aktiven Session erhalten eine Nachricht im Warenkorb, dass diese nicht mehr bestellbar sind und der Bestellvorgang wird blockiert. Gleiche behandlung als wenn der Bestand 0 ist und die Option "einkaufen nicht vorrätiger Waren nicht erlaubt ist.


Deactivated items can be purchased if they are placed in the basket during an active session and then deactivated by the admin.
The logged-in customer can complete the purchase process as long as his session is still active and the item is in the basket, even though the item has already been deactivated by the admin.

Can be reproduced as follows:

  1. create an article and activate it.
  2. log in with another user or create a new account
  3. put the article with the new users in the basket
  4. as admin deactivate the article now
  5. the still logged in customer still has the article in his basket
  6. go to the checkout with the logged in customer and order the article
  7. the order is completed without any problems. This is not correct.

Suggested solution:

Deactivated items during an active session will receive a message in the shopping cart that they are no longer available and the order process will be blocked. Same treatment as when the stock is 0 and the option "buy out of stock" is not allowed.


ADDITIONAL INFO

In order to reproduce I had to do the following FIRST:

  1. as a customer, put 2 different products in your basket
  2. don't logout the customer, use another session as admin
  3. as admin, deactivate 1 of the products which are in the customers basket
  4. as customer, proceed with the checkout

result:

  • the checkout is possible with 1 activated and 1 deactivated product

  • if I had only 1 product in my basket in the first place, the checkout wasn't possible, the basket got refreshed (and was empty afterwards) when I clicked on "Checkout"

  • after I did the above, it is now possible to replicate the issue as described by the author



Zugehörige Tickets

Beziehung mit GX-Entwicklung - GX-Feature #67300: Deactivated articles should not be removed from the shopping cart and wishlistErledigtMoritz Bunjes

Aktionen
Aktionen

Auch abrufbar als: Atom PDF