Jump to content

Prestashop 9 : affichage de l'image du fabricant dans product.tpl [résolu]


Recommended Posts

Bonjour,

je cherche à ajouter le logo du fabricant dans product.tpl.

voici le code que j'ai mis mais ça ne fonctionne pas, ça affiche bien le nom du fabricant mais pas l'image. Pourtant l'image existe bien dans le BO.

{if isset($product_manufacturer->id)}
              <div class="product-manufacturer">
                {if isset($manufacturer_image_url)}
                  <a href="{$product_brand_url}">
                    <img src="{$manufacturer_image_url}" class="img img-thumbnail manufacturer-logo" alt="{$product_manufacturer->name}">
                  </a>
                {else}
                  <span>
                    <a href="{$product_brand_url}">{$product_manufacturer->name}</a>
                  </span>
                {/if}
              </div><br/>
            {/if}

Si quelqu'un peut m'aider.. ?

Merci

Edited by Press ta chope (see edit history)
Link to comment
Share on other sites

  • Press ta chope changed the title to Prestashop 9 : affichage de l'image du fabricant dans product.tpl [résolu]

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...