Modify

Opened 8 years ago

Closed 8 years ago

#1421 closed Bug/Fehler (fixed)

Fehler in cart_actions.php

Reported by: noRiddle Owned by: somebody
Priority: hoch Milestone: modified-shop-2.0.4.0
Component: Shop Version: 2.0.3.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Torsten Riemer)

Betrifft /includes/cart_actions.php

Ihr habt in der aktuellen Version (2.0.3.0) (wohl nach meiner Vorlage) eine Fehlermeldung eingebaut für den Fall, daß MAX_PRODUCTS_QTY (Backend => Konfiguration => Maximum Werte => "Maximale Produktanzahl") überschritten wird.
Wenn allerdings DISPLAY_CART auf 'false' steht
(Backend => Konfiguration => Mein Shop => "Soll Warenkorb nach dem Einfügen angezeigt werden?")
geht die Fehlermeldung verloren.
Es sollte also noch folgendes eingefügt werden für den Fall, daß die

$_SESSION['err_max_prod']

gesetzt wird.

if(DISPLAY_CART == 'false') $goto = FILENAME_SHOPPING_CART;

(Das kommt an mehreren Stellen in der besprochenen Datei vor.)

Gruß,
noRiddle

Attachments (1)

changeset_11151.zip (4.1 KB ) - added by Torsten Riemer 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by anonymous, 8 years ago

*NACHTRAG*
Im case 'update_product' ist es natürlich nicht nötig weil man sich da ja ohnehin bereits im Warenkorb befindet.

Gruß,
noRiddle

comment:2 by Torsten Riemer, 8 years ago

Component: AdminShop
Description: modified (diff)
Milestone: modified-shop-2.0.4.0
Priority: normalhoch
Reporter: changed from anonymous to noRiddle
Version: 2.0.3.0

comment:3 by Gerhard Waldemair, 8 years ago

Resolution: fixed
Status: newclosed

In 11151:

fix #1421

by Torsten Riemer, 8 years ago

Attachment: changeset_11151.zip added

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.