Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    7
    Plugin Contributions
    0

    help question Help with Product Quantity

    Hi, I recently asked a similar question on this subject and I still need help.
    I only want 1 of each item added to the cart & I would like the Max 1 to be shown in the cart and category area. How can I get the Max 1 on all my items that have already been listed and on all future items?
    I was shown how to do this to each individual item using the product's detail page in the Admin, but I hope I would not have to do it to all 800 items one at a time.
    Thanks for any help on this subject.

  2. #2
    Join Date
    Oct 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help with Product Quantity

    I guess this not worth a reply .... thanks anyway!!!

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

    Default Re: Help with Product Quantity

    If you want Maximum to be 1 for all products in the database table products you can run this command in the Tools ... Insert SQL Patches ...

    PHP Code:
    UPDATE products SET products_quantity_order_max 1
    To make this a default setting when adding products you would need to customize the file:
    /admin/includes/modules/product/collect_info.php

    and change approximately line 36 from:
    PHP Code:
                           'products_quantity_order_max' => '0'
    to read:
    PHP Code:
                           'products_quantity_order_max' => '1'
    NOTE: there are no overrides for this 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!

  4. #4
    Join Date
    Oct 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help with Product Quantity

    Thank you, Thank you, Thank you...... it worked...
    easy when you know how to do it...

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

    Default Re: Help with Product Quantity

    Thanks for the update and glad that this worked for 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!

  6. #6
    Join Date
    Oct 2007
    Posts
    106
    Plugin Contributions
    0

    Default Re: Help with Product Quantity

    how do I re-set the SQL entry...I mis-understood this post and now I want to reverse it.

    Zidain

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

    Default Re: Help with Product Quantity

    To not have a Maximum value set on the Products use the same command but with the 0 value:
    PHP Code:
    UPDATE products SET products_quantity_order_max 0
    0 means Unlimited ...
    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!

 

 

Similar Threads

  1. v153 Help with Rewards by Quantity by Category
    By kwright in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 26 Sep 2014, 04:17 PM
  2. Help with Product Quantity Discounts Table layout
    By artifaxworthing in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Jul 2010, 12:03 PM
  3. Discount groups with quantity - need help
    By ladiessymbol in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 15 Nov 2009, 03:35 PM
  4. help with product set-up with options (customer chooses quantity of option)
    By airtime in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Mar 2007, 05:06 PM
  5. Help with quantity pricing
    By joshlfisher in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 20 Aug 2006, 04: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