Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 46
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cart Update checking qty

    Do you have the new files in or the old files?

    If you put the copies of your original files back up on the server does it work?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #22
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cart Update checking qty

    I cannot even reach your site now ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #23
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    reloading from this mornings backups, fastest way to get the check out to work again, we have adwords and other promos out, site is busy.

  4. #24
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    site is backup :-) whew... that was tense.

  5. #25
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    give me a few to readd your code please, will report back when the 3 files are updated with your new MANY IDs :-) code.

    sorry about the ID mixup, there are a lot there..

  6. #26
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cart Update checking qty

    You have the code you need ... just find a good TEXT editor ...

    Save copies of the original files on the server such as:
    /includes/modules/pages/checkout_shipping/header_php.php_ORI
    /includes/modules/pages/checkout_payment/header_php.php_ORI
    /includes/modules/pages/checkout_confirmation/header_php.php_ORI

    and start with just the checkout_shipping first ... the others are extra checks should the shipping be by passed for some reason ...

    Get the file:
    /includes/modules/pages/checkout_shipping/header_php.php

    working correctly before moving on the the next file ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #27
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    ok, will move slowly as you say and step though, will report back in 45 min or so.

    thx so much...

  8. #28
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    ok, did only the 1 file, as stated and the checkout errors
    /includes/modules/pages/checkout_shipping/header_php.php

  9. #29
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    file looks like :

    // Validate Cart for checkout
    $_SESSION['valid_to_checkout'] = true;
    $_SESSION['cart']->get_products(true);
    if ($_SESSION['valid_to_checkout'] == false) {
    $messageStack->add('header', ERROR_CART_UPDATE, 'error');
    zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
    }
     
     
    // bof: must have 6 130 or 1 129, 131, 132 if 1+ 130
    $valid_products_checkout = false;
    $chk_cat130 = 0;
    // 134,135,136,137,138,139,140,141,142
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','134');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','135');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','136');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','137');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','138');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','139');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','140');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','141');
    $chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','142');
    if ($chk_cat130 >= 6 || $chk_cat130 == 0) {
    $valid_products_checkout = true;
    } else {
    $chk_cat_other += $_SESSION['cart']->in_cart_check('master_categories_id','129');
    $chk_cat_other += $_SESSION['cart']->in_cart_check('master_categories_id','131');
    $chk_cat_other += $_SESSION['cart']->in_cart_check('master_categories_id','132');
    if ($chk_cat_other > 0) {
    $valid_products_checkout = true;
    }
    if ($valid_products_checkout == false) {
    $messageStack->add_session('header', 'Add more products', 'caution');
    zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
    }
    }
    // eof: must have 6 130 or 1 129, 131, 132 if 1+ 130
     
     
     
    // Stock Check

  10. #30
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cart Update checking qty

    What version Zen Cart are you using?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Can't update QTY in shopping cart
    By dwdusharme in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 9 Jan 2009, 12:49 AM
  2. Automatic Cart Qty Update
    By cowspot in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Apr 2008, 02:47 AM
  3. Shopping Cart Qty Box doesn't update
    By littlegdesigns2004 in forum General Questions
    Replies: 0
    Last Post: 7 Nov 2007, 12:01 AM
  4. Shopping Cart: Update Qty Button Issue
    By webomat in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Nov 2006, 08:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg