ubik Posted September 23, 2010 Share Posted September 23, 2010 HelloLa manip doit être simpla mais je ne suis pas expertsur la page product.php, je souhaiterai récupérer id de la catégorie du produit et afichier une template différente en fonctionDans la mesure ou ce sont des url simplifiée je ne peux utiliser le GET $categoryT = new Category($product->id_category); if ($categoryT =="8"){$smarty->display(_PS_THEME_DIR_.'product.tpl');} else if ($categoryT =="7"){$smarty->display(_PS_THEME_DIR_.'product2.tpl');} Si quelqu'un avait une idée?MErci d'avance à la communauté Link to comment Share on other sites More sharing options...
phil46 Posted September 23, 2010 Share Posted September 23, 2010 Re,eh ben tient tu pourrais tenter cette manip et nous dire ce qui l'en est il semblerait que cela ne fonctionne pas avec la version 1.3.1 de prestashophttp://www.prestashop.com/forums/viewthread/24584/#293614A+phil Did 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