bettywau Posted May 26, 2014 Share Posted May 26, 2014 Bonjour, J'ai modifié les conditions des produits en rajoutant un état car ceux disponible ne correspondent pas à mon activité. J'ai donc ajouté "Prix CE" comme indiqué ici Je peux sans soucis mofifier dans le BO l'état produit nouvellement crée mais dans le FO, je souhaiterais du coup modifier l'état qui s'affiche dans l'image du produit... Capture : Je n'ai rien trouver malgré mes recherches sur le forum.. S'il est impossible de modifier le "Neuf" par le nouvel état "Prix CE", comment l'enlever de l'image aperçu du produit ? Merci pour votre aide.. Link to comment Share on other sites More sharing options...
S-HAMMANI Posted May 26, 2014 Share Posted May 26, 2014 Bonjour: Fichiers à modifier : product.tpl product-list.tpl et homefeatured.tpl Code à remplacer: {if $product->new} <span class="new-box"> <span class="new-label">{l s='New'}</span> </span> {/if} Par: {if $product->condition} <span class="new-box"> <span class="new-label "> {if $product->condition == 'new'}{l s='New'} {elseif $product->condition == 'used'}{l s='Used'} {elseif $product->condition == 'refurbished'}{l s='Refurbished'} {/if} </span> </span> {/if} les if et elseif sont en fonction du nombre de conditions 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