Wstdhz Posted March 3, 2020 Share Posted March 3, 2020 (edited) Bonjour, Comment exclure une categorie en SMARTY sur PS 1.6.1 svp? J'ai par exemple ce code : {if isset($product) && $product->caution } <p class="caution_display"> <strong><i class="far fa-credit-card"></i> Caution : {$product->caution } €</strong><br/> </p> {/if} Et j'aimerais qu'il ne s'applique pas à une catégorie précise. Une idée quelqu'un? Merci. Edited March 3, 2020 by Jesse (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted March 3, 2020 Share Posted March 3, 2020 Link to comment Share on other sites More sharing options...
Wstdhz Posted March 3, 2020 Author Share Posted March 3, 2020 PS 1.6.1 Link to comment Share on other sites More sharing options...
Mediacom87 Posted March 3, 2020 Share Posted March 3, 2020 à l’instant, Jesse a dit : PS 1.6.1 Ah ben oui, avec ce genre de demi information on va tout de suite aider vachement plus. Relisez votre demande, activez votre cerveau, et essayer de trouver toutes les informations qu'il manque car il en manque beaucoup. 1 Link to comment Share on other sites More sharing options...
Wstdhz Posted March 3, 2020 Author Share Posted March 3, 2020 Je ne vois pas en quoi les autres informations viendront aider à ma question initiale? Je demande comment exclure une catégorie dans une variable SMARTY, j'ai fournis la version de PS et le code en question. Link to comment Share on other sites More sharing options...
Wstdhz Posted March 3, 2020 Author Share Posted March 3, 2020 À moins qu'il ne s'agisse pas de SMARTY dans ce cas de figure? Link to comment Share on other sites More sharing options...
Mediacom87 Posted March 3, 2020 Share Posted March 3, 2020 C'est froid. il y a 1 minute, Jesse a dit : À moins qu'il ne s'agisse pas de SMARTY dans ce cas de figure? Link to comment Share on other sites More sharing options...
Wstdhz Posted March 3, 2020 Author Share Posted March 3, 2020 Install : Maj. Thème : perso Version de PHP : 7.1.33 Version SQL : 4.6.6deb4 Hébergement : OVH En vous remerciant! 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