Jquery jcart Maximum quantity of one for a specific item -


Is there a way to limit a specific store item, so that it can be added to the jersey once? You can do this easily with simple logic compared to the built-in functionality of the plugin by

> The pseudo-code will be as follows:

  If you try to add an item to the cart: If the item already exists in the cart and there is a property in the item ( Only 'one time')): return false; Else: Add to Cart  

The volume range of car items does not seem to be a built-in option.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -