Vico_b 4 Posted May 3, 2019 Dans la page produit, J'ai cet appel pour les miniatures des accessoires: {include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory} comment fais-je pour déterminer que la page est appelée pour un accessoire ? J'ai tenté {if produt=$product_accessory} mais ça a fait éxploser mon site haha Share this post Link to post Share on other sites
Vico_b 4 Posted May 6, 2019 (edited) J'ai trouvé la solution : Je passe la variable title au moment de l'insert {include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory title='oui'} Puis Je la test dans mon miniatures/product.tpl {if $title!="oui"} {* ici le html pour afficher un produit *} {else} {* ici pour afficher les accessoires *} {/if} Edited May 6, 2019 by Vico_b (see edit history) Share this post Link to post Share on other sites