Saiff Posted April 20, 2015 Share Posted April 20, 2015 Bonjour à tous, Je suis sur le thème Wine of Superior Quality et j'aimerais savoir comment faire pour complétement cacher voir supprimer la "condition" d'un produit ? Le but serait de ne pas affiché l'état, en principe on n'affiche pas l'état d'un vin.... Merci infiniment. Link to comment Share on other sites More sharing options...
2FR3 Posted April 20, 2015 Share Posted April 20, 2015 Donnez nous le lien du site svp 1 Link to comment Share on other sites More sharing options...
Saiff Posted April 21, 2015 Author Share Posted April 21, 2015 Bonjour, Voici le lien. http://sitevin.koalito.com/fr/ Merci beaucoup pour votre aide ! Link to comment Share on other sites More sharing options...
Saiff Posted April 21, 2015 Author Share Posted April 21, 2015 Donnez nous le lien du site svp Une idée ? Link to comment Share on other sites More sharing options...
Divine Posted April 21, 2015 Share Posted April 21, 2015 (edited) Bonjour, Dans le fichier "product.tpl" de ton thème il faut supprimer ou commenter les lignes : {if !$product->is_virtual && $product->condition} <p id="product_condition"> <label>{l s='Condition:'} </label> {if $product->condition == 'new'} <link itemprop="itemCondition" href="http://schema.org/NewCondition"/> <span class="editable">{l s='New product'}</span> {elseif $product->condition == 'used'} <link itemprop="itemCondition" href="http://schema.org/UsedCondition"/> <span class="editable">{l s='Used'}</span> {elseif $product->condition == 'refurbished'} <link itemprop="itemCondition" href="http://schema.org/RefurbishedCondition"/> <span class="editable">{l s='Refurbished'}</span> {/if} </p> {/if} Edited April 21, 2015 by Divine (see edit history) 2 Link to comment Share on other sites More sharing options...
Saiff Posted April 21, 2015 Author Share Posted April 21, 2015 Bonjour, Dans le fichier "product.tpl" de ton thème il faut supprimer ou commenter les lignes : {if !$product->is_virtual && $product->condition} <p id="product_condition"> <label>{l s='Condition:'} </label> {if $product->condition == 'new'} <link itemprop="itemCondition" href="http://schema.org/NewCondition"/> <span class="editable">{l s='New product'}</span> {elseif $product->condition == 'used'} <link itemprop="itemCondition" href="http://schema.org/UsedCondition"/> <span class="editable">{l s='Used'}</span> {elseif $product->condition == 'refurbished'} <link itemprop="itemCondition" href="http://schema.org/RefurbishedCondition"/> <span class="editable">{l s='Refurbished'}</span> {/if} </p> {/if} Super merci beaucoup ! Link to comment Share on other sites More sharing options...
Divine Posted April 21, 2015 Share Posted April 21, 2015 De rien 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