Nicolas Patrouillaul Posted October 26, 2017 Share Posted October 26, 2017 Bonjour à tous Je recherche comme trouver la variable ou le tag de l'image de ma page produit qui est en première position. Ci dessous, le link pour afficher l'image de couverture. Cependant je ne souhaite pas afficher celle ci mais l'image en première position ( qui n'est pas forcement en couverture ) <a class="jqzoom" title="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}" rel="gal1" href="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox_default')|escape:'html':'UTF-8'}" itemprop="url"> <img class="img-responsive retina" itemprop="image" src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default2x')|escape:'html':'UTF-8'}" title="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}" alt="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}"/> </a> Merci ! Nicolas 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