Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 46
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cart Update checking qty

    Sounds like you have supplied invalid master_categories_id ...

    The master_categories_id is the immediate categories_id that the Product belongs to ...

    As to the error, check that you have customize the correct file and that it has properly loaded to the server ... sounds like it could be missing ...

    Also, look in the directoru:
    /cache

    Do you have debug logs in there? If so, what do they say?
    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. #12
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    from the top ID 46 > 70 > 126
    then under 126 is the IDS 129, 130, 131 & 132

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

    Default Re: Cart Update checking qty

    The bean soup is showing:
    cPath=46_70_126_130_134

    in the URL ... this should mean that the Product belongs to categories_id 134 which should be its master_categories_id ...

    categories_id holds categories such as 134 ...
    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!

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

    Default Re: Cart Update checking qty

    shoot, ya, I divided up the items so under 130 is
    134,135,136,137,138,139,140,141,142
    but all under 130 needs to be the at least 6 in the cart Or if less then at least 1 items from IDS 129 "no sub ids" :-)
    and 131, 132.

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

    Default Re: Cart Update checking qty

    Try using:
    Code:
    // 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
    You still need to look in the:
    /cache

    directory for debug logs to see what they say ... somewhere you have missing files or errors in the file(s) ...

    What TEXT editor 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!

  6. #16
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    no errors, got a yellow line with Add more products

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

    Default Re: Cart Update checking qty

    is erroring with a normal product now
    there is someone with a cart. I need to change back the files for a bit.

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

    Default Re: Cart Update checking qty

    Okay, that is what it should do when the incorrect products are in the cart to stop checkout ...

    This line of code is what is creating the message:
    Code:
          $messageStack->add_session('header', 'Add more products', 'caution');
    I do not know what you want the message to be ...
    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!

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

    Default Re: Cart Update checking qty

    Quote Originally Posted by gloerick View Post
    is erroring with a normal product now
    there is someone with a cart. I need to change back the files for a bit.
    Might be me ... my IP address ends in: .53.113
    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!

  10. #20
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: Cart Update checking qty

    I can not check out at all now !! what happened???

 

 
Page 2 of 5 FirstFirst 1234 ... 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