schakalaka Posted July 10, 2018 Share Posted July 10, 2018 Ciao a tutti. Vorrei rendere visibile la descrizione lunga dei prodotti solamente a chi appartiene ad un determinato gruppo utente (tipo "clienti Premium" (gruppo creato da me(ID =4))) Per fare questo avrei bisogno di sapere, il codice che gestisce i gruppi. redo che con un if then else nel file product.tpl, si possa risolvere (anche se non visibile da BE). accetto anche altre soluzioni. Prestashop versione 1.6.1.18 (ultima) Grazie! Link to comment Share on other sites More sharing options...
Fabry Posted July 10, 2018 Share Posted July 10, 2018 Salve, sí é possibile forse con questo: { if Group::getCurrent()->id == 4} {fai qualcosa...rendi visibile quel div altrimenti nascosto al resto dei gruppi} {/if} Ciao 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