NicolasV Posted December 12, 2014 Share Posted December 12, 2014 (edited) Bonjour, Est-il possible de limiter la quantité maximal d'un produit qu'un client peut acheter. En effet j,aimerai proposer des échantillons, mais je ne veux pas que mes clients puissent acheter plus de 2 échantillons afin d'éviter d'éventuels abus. Je sais qu'il y a plusieurs possibilités pour faire ça : - script JS qui bloque coté page produit et coté page panier une quantité supérieur à 2 échantillons - Condition dans les templates respectifs Mais ce que j'aimerai mettre en place c'est une restriction dans une class ou un controller par overide. Comment dois-je m'y prendre? Est-ce possible? Merci! Edited December 12, 2014 by NicolasV (see edit history) Link to comment Share on other sites More sharing options...
Zhadum Posted December 23, 2014 Share Posted December 23, 2014 Salut,Il y a ce module qui semble coller à ta demandehttp://www.magavenue.com/boutique/modules-front-office/97-prestashop-limiter-nombre-achats-par-produits-pour-un-client.html Je ne l'ai pas testé, mais ils semble simple et compatible avec les versions 1.6+. Link to comment Share on other sites More sharing options...
NicolasV Posted December 26, 2014 Author Share Posted December 26, 2014 Merci, ce plugin à l'air intéressant, merci! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now