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?
Started by sagivle1 on 12 Mar 2008, 2:41 PM · Views: 1,547
New Zenner
Hi guys i want to limit my cart so that a buyer cant buy more than 4 items in one time.
any ideas?
Zen Follower
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
New Zenner
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".
Zen Follower
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.
Tell staff why this post should be reviewed.