Jump to content

Boutons accès Multi-boutiques


Jekagency

Recommended Posts

Pas nativement car Prestashop n'envoie pas le tableau des shops dans Smarty. Il faut donc faire un override du frontController pour l'assigner.

Ensuite il suffit de créer vos variables en fonctions des id_shop et de les utiliser en classes css.

class="shop_{$id_shop}"

En css:

shop_1 {background: white;}

shop_2 {background: red;}

shop_3 {background: yellow;}

...

Link to comment
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
×
×
  • Create New...