kevincote89 Posted January 4, 2013 Share Posted January 4, 2013 Je veux styler la page **product.tpl** dependament de la category. Mes category son créer ainsi : Site - Films -- Action -- Amour ... J'ai trouver ca sur internet : {if ($category->name|escape:'htmlall':'UTF-8' == "films")} do this if is true {/if} Le probleme c'est que ca prend la sous-category plutot que la catgorie. Ca marche seuement si je met "actions" ou "amour" mais pas si je met "films" Une solution ? Merci à l'avance 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