LeGhe Posted February 26, 2010 Share Posted February 26, 2010 Bonsoir,on peut afficher les caractéristiques du fabricant dans des tabs sur la page product : {if $manufacturers} {foreach from=$manufacturers item=manufacturers} {if $manufacturers.id_manufacturer eq $product->id_manufacturer} manufacturer_name}" style="float: left; padding-right: 10px;" />{$manufacturers.description} {/if} {/foreach} {/if} Mais comment ajouter DESSOUS (dans la tab11 donc) les caractéristiques du fournisseur ???J'ai essayé : {if $manufacturers} {foreach from=$manufacturers item=manufacturers} {if $manufacturers.id_manufacturer eq $product->id_manufacturer} manufacturer_name}" style="float: left; padding-right: 10px;" />{$manufacturers.description} {/if} {/foreach} {if $suppliers} {foreach from=$suppliers item=suppliers} {if $suppliers.id_supplier eq $product->id_supplier} supplier_name}" style="float: left; padding-right: 10px;" />{$suppliers.description} {/if} {/foreach} {/if} {/if} Mais cela ne fonctionne pas...Qui a une piste ?Merci !!! Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2010 Share Posted February 26, 2010 et : {if $manufacturers} {foreach from=$manufacturers item=manufacturers} {if $manufacturers.id_manufacturer eq $product->id_manufacturer} manufacturer_name}" style="float: left; padding-right: 10px;" />{$manufacturers.description} {/if} {/foreach} {/if} {if $suppliers} {foreach from=$suppliers item=suppliers} {if $suppliers.id_supplier eq $product->id_supplier} supplier_name}" style="float: left; padding-right: 10px;" />{$suppliers.description} {/if} {/foreach} {/if} ???? 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