Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2009
    Posts
    29
    Plugin Contributions
    2

    Default Max Items in Cart

    Can anyone point me to where I can set the max number of items that can be added to a cart?

    thanks!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Max Items in Cart

    Do you want the maximum number of individual products or the total of all items?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Mar 2009
    Posts
    29
    Plugin Contributions
    2

    Default Re: Max Items in Cart

    max total of all items would be fine.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Max Items in Cart

    That is not something you can set in stock Zen Cart; you can set maximums for any one product in Catalog > Categories/Products > edit product.

    You would have to do some custom coding for what you want.

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

    Default Re: Max Items in Cart

    You might look at the Free Add On for Minimum Items and see if you can reverse the logic to make it a Maximum Items ...

    http://www.zen-cart.com/index.php?ma...roducts_id=902
    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: v1.5.5]
    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
    Nov 2015
    Location
    SF Bay Area
    Posts
    2
    Plugin Contributions
    0

    Default Re: Max Items in Cart

    Thank you, Linda McGrath. I spent all day in the Saturday salt mines today and was getting frustrated. This ^ was exactly what I needed. I had to register to pass on how useful your advice from four years ago was for the unique situation my boss put me in today.

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Max Items in Cart

    Quote Originally Posted by MrSpiffy View Post
    Can anyone point me to where I can set the max number of items that can be added to a cart?

    thanks!
    None of my business really, and I don't have an answer, but I can't help but wonder *why* you would need this?

    I'm guessing that it is to stop abuse by some robots that don't know when to stop? If so, perhaps it may be easier to simply disallow those particular bots?

    Cheers
    RodG

  8. #8
    Join Date
    Nov 2015
    Location
    SF Bay Area
    Posts
    2
    Plugin Contributions
    0

    Default Re: Max Items in Cart

    Quote Originally Posted by RodG View Post
    None of my business really, and I don't have an answer, but I can't help but wonder *why* you would need this?

    I'm guessing that it is to stop abuse by some robots that don't know when to stop? If so, perhaps it may be easier to simply disallow those particular bots?

    Cheers
    RodG
    In my own case, it was a one-off thing to temporarily require purchases from a specific category to total exactly 6 items. They could be the same item or a mix of items, but the total had to be 6 for that category. The suggestion to tweak Minimum Items was just what I needed. Wish I had thought of it myself. To make matters worse, the total for that category had to be $96, regardless of the individual prices, which were all different, and to show the savings in the cart. Everything worked out, though, and this thread got me pointed in the right direction for the first part of the problem.

 

 

Similar Threads

  1. v150 Setting a max number with a + for items with large stock
    By einarso in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 18 Jul 2013, 11:42 PM
  2. Max Items in Database?
    By armyabn1 in forum General Questions
    Replies: 2
    Last Post: 25 Feb 2010, 02:25 AM
  3. How to make Flat Rate Shipping have a max amount of items?
    By KromiX in forum General Questions
    Replies: 1
    Last Post: 31 May 2009, 01:41 AM
  4. Max per Row on Featured Items
    By ideasgirl in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Oct 2008, 06:19 PM
  5. Per Unit shipping, but cut off after a max no of items
    By shambhala in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 21 Oct 2006, 04:04 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR