SPKF Posted June 4, 2014 Share Posted June 4, 2014 (edited) Bonjour, Dans le but de contourner un bug sur Prestashop 1.5.4, je cherche à recupérer l'ID du SHOP dans une classe (Override de Tools.php). Je n'y parviens pas, avez vous une idée ? Edited June 5, 2014 by SPKF (see edit history) Link to comment Share on other sites More sharing options...
Johann Posted June 4, 2014 Share Posted June 4, 2014 Context::getContext()->shop->id devrait te renvoyer l'id de la boutique courante, non ? Link to comment Share on other sites More sharing options...
SPKF Posted June 5, 2014 Author Share Posted June 5, 2014 Merci infiniment Johann 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