guyavap.fr Posted June 15, 2015 Share Posted June 15, 2015 Bonjour, Je souhaiterai supprimer le bouton ajouter au panier et commander uniquement pour certaines catégories. Afin que les clients soient obligés de passer par "détails". Ce sujet à déjà été abordé plusieurs fois comme ici , mais pour toutes les catégories. Cdt. Link to comment Share on other sites More sharing options...
YopixelAE Posted June 23, 2015 Share Posted June 23, 2015 (edited) Bonjour, Vous pouvez ajoutez des conditions {if} et utilisez les variables : $product.category == x $product.id_category_default == x Ou $product->category == x $product->id_category_default == x Suivant que vous êtes sur la page product-list.tpl ou product.tpl Pour afficher ou ne pas afficher le bouton d'ajout au panier. Edited June 23, 2015 by Yopixel (see edit history) 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