mise en avant categorie parent dans fiche produits

4 posts in this topic

Posted · Report post

bonjour, est ce possible dans le block "choix de categorie" de les afficher en couleur en fonction de leur niveau

ex de menu :

vêtement

-->femme

-->-->legging

-->-->top

-->-->jupe

 

ex: Vetement  = parent ->en bleu  

ex: femme = sous parent -> enviolet

ex : legging = sous sous parent -> reste normal noir

 

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

vous souhaitez faire cette modification en front office ou en back office ?

Share this post


: post
Share on other sites

Posted (edited) · Report post

que en back office

 

Edited by neomega

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

les options du menu déroulant des catégories en back office sont générés dans le fichier recursive_items_display.tpl. Vous pouvez ajouter une classe CSS sur les éléments 'option' dans ce fichier.
Pour faire modifier la classe CSS en fonction du niveau dans le menu, vous pouvez utiliser la variable SMARTY $it.depth

Share this post


: post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

Twitter Advisto ecommerce

Facebook PEEL Shopping