Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

599
 
692
 
692
 
shopping_cart.php
_> 11 <?php
  22 /*
<> 3 -  $Id: shopping_cart.php 599 2006-07-03 17:36:46Z hpdl $
   3+  $Id: shopping_cart.php 692 2006-08-16 00:53:12Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
212212       $this->resetShippingMethod();
  213213       $this->resetBillingAddress();
  214214       $this->resetBillingMethod();
<> 215 -
  216 -      if (isset($_SESSION['new_products_id_in_cart'])) {
  217 -        unset($_SESSION['new_products_id_in_cart']);
  218 -      }
219215     }
  220216 
  221217     function add($products_id, $attributes = '', $quantity = '') {
     
 !
233229         $Qcheck->execute();
  234230 
  235231         if ($Qcheck->valueInt('products_status') === 1) {
<> 236 -          $_SESSION['new_products_id_in_cart'] = $products_id_string;
  237 -
<_ 238232           if ($this->exists($products_id_string)) {
  239233             if (is_numeric($quantity) === false) {
  240234               $quantity = $this->getQuantity($products_id_string) + 1;