Jump to content

Affichage fabriquant et editeur


Recommended Posts

Bonjour, j'essaie d'afficher le fabriquant ou éditeur dans product-list.tpl mais je n'ai que l'éditeur qui s'affiche et non le fabriquant. J'utilise "manufacturer" pour les deux, voici le code que j'utilise mais il ne marche pas, merci pour votre aide

{if $product.id_manufacturer && $SCRIPT_NAME !='/manufacturer.php' && $SCRIPT_NAME !='/manufacturer.php'}
{if $product->location}
{l s='Manufacturer'} :
getmanufacturerLink($product.id_manufacturer, $product.manufacturer_name, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="Tous les produits de {$product.manufacturer_name}" >{$product.manufacturer_name}
{else}
{l s='Publisher'} :
getmanufacturerLink($product.id_manufacturer, $product.manufacturer_name, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="Tous les livres de {$product.manufacturer_name}" >{$product.manufacturer_name}
{/if}
{/if}

Link to comment
Share on other sites

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...