Julien13720 Posted January 24, 2023 Share Posted January 24, 2023 (edited) Bonjour, je cherche une solution pour utiliser TRUNCATE différemment sur mobile, exemple : <h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:26:'...'}</a></h3> pour mobile et <h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:50:'...'}</a></h3> sur pc Est-il possible de réaliser cela? Merci d'avance. Edited January 25, 2023 by Julien13720 (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted January 24, 2023 Share Posted January 24, 2023 Bonjour, https://www.mediacom87.fr/comment-detecter-le-type-de-peripherique-en-smarty-pour-prestashop-17-dans-un-tpl/ Link to comment Share on other sites More sharing options...
Julien13720 Posted January 25, 2023 Author Share Posted January 25, 2023 Merci, je vais checker ça Link to comment Share on other sites More sharing options...
Julien13720 Posted January 25, 2023 Author Share Posted January 25, 2023 18 hours ago, Mediacom87 said: Bonjour, https://www.mediacom87.fr/comment-detecter-le-type-de-peripherique-en-smarty-pour-prestashop-17-dans-un-tpl/ Mille mercis, ça fonctionne à merveille 🙂 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