This is a discussion on Cart Cookie within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Thanks to tostrinj (Paul) and spectreman (Eric) for pointing out this bug. After the order has been successfully placed, the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Thanks to tostrinj (Paul) and spectreman (Eric) for pointing out this bug. After the order has been successfully placed, the cookie was not being deleted. Hence, even though the customer went through the checkout process, it still showed items in the customer's shopping cart. Only file containing the installation instructions has changed. Make the following change in catalog/checkout_success.php Immediately following the line (Line # 13): require('includes/application_top.php'); Place the following lines: $cookie_path = HTTP_COOKIE_PATH; $cookie_expiration_time = time() - (MAX_LIFE_OF_CART_COOKIE * 24 * 60 * 60); setcookie("cart", false, $cookie_expiration_time, $cookie_path, $cookie_domain); More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cart Cookie | michael_s | New osCommerce Contributions | 0 | 08-27-2007 06:13 AM |
| Problems with cookie usage.php | redz008 | osCMax v1.7 Discussion | 14 | 08-07-2006 06:56 PM |
| Cookie problem | garjowan | osCommerce 2.2 Modification Help | 1 | 04-10-2006 05:26 PM |
| cookie use not working | PixelPaul | osCMax v1.7 Discussion | 0 | 03-22-2005 10:28 PM |
| Cookie Usage Error??? | RichRodgers.net | osCMax v1.7 Installation | 1 | 04-02-2004 08:27 AM |