Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Stock Quantities #220

Open
lugg0 opened this Issue · 2 comments

3 participants

@lugg0

Hi All,

I'm a graphic and web designer trained mostly in print production but self taught web coding skills (which is not easy but everyone expects a graphic designer knows code) so therefore I'm not great at javascript but learning!

Has anyone / Or does anyone know how to: write the js code to manage how many of the same item can be added to the cart?

I would like to limit each product added to be limited to 1 or 2. I have seen in the following thread wojodesign suggested some code to do so however I cannot get it to work and am unsure where to place it within the simpleCart.js

#61

Any help would be greatly appreciated and thanks for the awesome plugin!

@integrate

Hello!

My name is Vyacheslav Matva.

I just finished modification that you need. I finished it as project on Elance. This is link to this project: https://www.elance.com/j/stock-system-e-commerce-website/29445433/
I have reach experience with modifications of simpleCartJS and believe that I can help you to get what you need.

Feel free to contact me directly:
Email: vmatva@gmail.com
Skype: integratex
Google Talk: vmatva@gmail.com
ICQ: 417868996

Thanks,
Vyacheslav Matva.

@brettwejrowski
Collaborator

Hi @lugg0, there are quite a few examples of using a 'beforeAdd' event in order to limit quantities. Search around to see if any of them help you. If you are still having trouble, let me know and I can point you in the right direction. Also, be weary of @integrate who seems to be cruising these message boards trying to solicit work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.