Fulanyboy Posted January 7, 2015 Share Posted January 7, 2015 Bonjour , voila j'ai installé un module panier sur mon site mais j'aimerai qu'il n'apparaisse que quand on clique sur une catégorie de produit. Est-ce possible ? Et comment m'y prendre ? Merci Link to comment Share on other sites More sharing options...
fred-vinapresta Posted January 7, 2015 Share Posted January 7, 2015 Oui c'est possible Dans la fonction de hook qui appelle le module, il faut mettre une condition du genre: if (Tools:isset('id_category') && Tools:getValue('id_category') == id_de_la_category) { code du hook; } else return; Link to comment Share on other sites More sharing options...
Fulanyboy Posted January 7, 2015 Author Share Posted January 7, 2015 Merci pour le feedback je teste ça 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