Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2007
    Posts
    42
    Plugin Contributions
    0

    Default Warning notice when adding products to shopping cart

    Visitors now get a warning notice when adding products to shopping cart. The notice appears in a yellow box at the top of the shopping cart page. The message is something like the following...

    Please update your order ...
    Product Name: Widget X ... Quantity Units errors -
    You ordered a total of: 2 Min: 0 Units: 0

    What's up? This never happened before. Please help.

    - John

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

    Default Re: Warning notice when adding products to shopping cart

    There is no such thing as 0 Units ... have you ever tried to buy 0 grapefruits at the store? They really look at you funny in the checkout line ...

    There is no such thing as 0 Minimum either ... for the same reason ... why would I have to buy 0 widgets to get out of said store?

    The defaults on these are:
    Minimum: 1
    Maximum: 0 (unlimited)
    Units: 1

    and should be left as such unless you specifically need to say, you must order 6 widgets in units of 2 ... meaning, at least 6 but then can get 6, 8, 10, 12, 14, etc.
    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. #3
    Join Date
    Oct 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Warning notice when adding products to shopping cart

    How did these get changed? Do I need to set them to the default using Easy Populate or something? I have thousands of products, so I really don't want to update each product manually.

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

    Default Re: Warning notice when adding products to shopping cart

    Somewhere along the way either you or Easy Populate is goobering up your data ...

    Check to see what happens if you click on NEW PRODUCT button and see if they are set to the DEFAULTS of:
    Product Qty Minimum: 1
    Product Qty Maximum: 0 0 = Unlimited, 1 = No Qty Boxes
    Product Qty Units: 1
    If so, either Easy Populate is setup wrong or your database defaults in the products table are incorrect for the fields:
    products_quantity_order_min 1
    products_quantity_order_units 1
    products_quantity_order_max 0
    These can all be fixed easily back to the defaults with:
    UPDATE products SET products_quantity_order_min = 1;
    UPDATE products SET products_quantity_order_units = 1;
    UPDATE products SET products_quantity_order_max = 0;
    in the Tools ... Insert SQL Patches ...

    But it is a good idea to find out the cause for this problem as well as fix the issues ...

    NOTE: Always make a backup before making changes to your database tables ...
    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!

  5. #5
    Join Date
    Oct 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Warning notice when adding products to shopping cart

    Wow! Thanks for that! You really spoon fed me exactly what I needed. I had a feeling an update query would fix it, but you spelled it all out. Thanks!

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

    Default Re: Warning notice when adding products to shopping cart

    We do aim to please ...

    Glad that this could help you ...
    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. #7
    Join Date
    Oct 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Warning notice when adding products to shopping cart

    Is there a similar UPDATE query that would force the quantity field to appear on all product pages? ...because that seems to be part of the problem, too--the quantity field disappeared. I can go back into individual products and turn it on, but I don't want to do that for thousands of products.

    Also, regarding Easy Populate... Is there a more reliable way to do bulk updates that is not too time consuming?

    Thanks,
    John

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

    Default Re: Warning notice when adding products to shopping cart

    Again backup first ...

    If this is the result of bad data, it can be fixed with:
    PHP Code:
    UPDATE products set products_qty_box_status 1
    I'd really try to find out what is breaking things first ...
    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. #9
    Join Date
    Oct 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Warning notice when adding products to shopping cart

    That did the trick. I had to run all four of the queries below, of course after first replacing "products" with the name of my products table, like xxxxx_products...

    UPDATE products SET products_quantity_order_min = 1;
    UPDATE products SET products_quantity_order_units = 1;
    UPDATE products SET products_quantity_order_max = 0;
    UPDATE products SET products_qty_box_status = 1;

    I'm pretty sure the data was corrupted in the first place as a result of some clumsy Easy Populate handy work on my part. I'll be more careful in the future. I'm kind of afraid to do a lot of work with attributes because it will probably just make the whole Easy Populate process even trickier, but nothing ventured nothing gained "they" say.

    I do have one more question... While cleaning up my products table, I found the following columns, but I can't find a place in the admin where I can edit them...

    metatags_title_status
    metatags_products_name_status
    metatags_model_status
    metatags_price_status
    metatags_title_tagline_status

    How are these altered in the admin? Please advise.

    Thanks for all your help everyone!!!

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

    Default Re: Warning notice when adding products to shopping cart

    When on the Product listing in the Catalog of the Admin there is either a Black or Orange biohazard icon ...

    When Black there are no custom meta tag settings when Orange then there are custom meta tag settings ...

    Update the Products meta tags in this manner and there are also similar settings for Categories ...
    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 1 of 2 12 LastLast

Similar Threads

  1. Shopping cart empty when adding product to cart?
    By juanitas in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Aug 2009, 11:22 PM
  2. Replies: 19
    Last Post: 22 Nov 2008, 06:11 PM
  3. Replies: 2
    Last Post: 11 Nov 2008, 09:56 AM
  4. Warning when adding/editing new products or categories
    By ideasgirl in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Oct 2007, 02:47 PM
  5. take out weight when adding to shopping cart
    By magicfun in forum Customization from the Admin
    Replies: 4
    Last Post: 30 Jun 2006, 01:36 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