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

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -

url rewriting - How to implement the returnurl like SO in PHP? -