If this is your first visit, check our documentation. To post, register or login.
Forums / Managing Customers and Orders / How can i limit amount of products per buyer?

How can i limit amount of products per buyer?

Locked

Started by sagivle1 on 12 Mar 2008, 2:41 PM · Views: 1,547

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 Mar 2008, 2:41 PM
#1
sagivle1 avatar

sagivle1

New Zenner

Join Date:
Dec 2007
Posts:
31
Plugin Contributions:
0

How can i limit amount of products per buyer?

Hi guys i want to limit my cart so that a buyer cant buy more than 4 items in one time.
any ideas?

13 Mar 2008, 1:42 AM
#2
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

Re: How can i limit amount of products per buyer?

Post a message directing them to my store if they want to buy more than 4 products? <g> I make most of my ZC finds just stumbling around looking for something else, and I haven't seen any switches that would let you set the total number of items in the cart. It's easy to set a maximum of any particular item, but it doesn't sound like that is what you want.

Sylvia
PM at your own risk, I don't check in regularly!
MamaSylvia.com My ZenCart tutorial

24 Mar 2008, 11:38 AM
#3
sagivle1 avatar

sagivle1

New Zenner

Join Date:
Dec 2007
Posts:
31
Plugin Contributions:
0

Re: How can i limit amount of products per buyer?

i found a solution , i wrote a javascript code that pop up alert if the user bought too much , and redirecting the user to the back page again.
that code need to be activated when clicking "go to checkout".

14 Apr 2009, 3:52 PM
#4
tecbrat avatar

tecbrat

Zen Follower

Join Date:
Feb 2005
Posts:
239
Plugin Contributions:
0

Re: How can i limit amount of products per buyer?

I also wanted to set a maximum items per checkout.
Since javascript can be deactivated, try out this solution: click I modified 3 lines of code from a max value mod and it worked for me.