Anthony LH Posted October 30, 2017 Share Posted October 30, 2017 (edited) Bonjour, je cherche à enlever l'état neuf dans ma fiche produit. J'ai trouvé le fichier "product.tpl" et ceci: </ p> {if! $ product-> is_virtual && $ product-> condition} <p id = "product_condition"> <étiquette> {ls = 'Condition:'} </ label> {if $ product-> condition = = 'nouveau'} <link itemprop = "itemCondition" href = "https://schema.org/NewCondition" /> <span class = "editable"> {ls = 'Nouveau produit'} </ span> {elseif $ product-> condition == 'used'} <lien itemprop = "itemCondition" href = "https://schema.org/UsedCondition" /> <span class = "modifiable"> {ls = 'Utilisé'} </ span> {elseif $ product-> condition == 'reconditionné'} <link itemprop = "itemCondition" href = "https://schema.org/RefurbishedCondition" /> <span class = "editable"> {ls = 'Rénové'} </ span> {/ if} </ p> mais quoi faire, quoi modificateur? Merci d'avance, Anthony www.loho.fr Edited October 30, 2017 by Anthony LH (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted October 30, 2017 Share Posted October 30, 2017 {* {if $ product-> condition = = 'nouveau'} <link itemprop = "itemCondition" href = "https://schema.org/NewCondition" /> <span class = "editable"> {ls = 'Nouveau produit'} </ span> {elseif $ product-> condition == 'used'} <lien itemprop = "itemCondition" href = "https://schema.org/UsedCondition" /> <span class = "modifiable"> {ls = 'Utilisé'} </ span> {elseif $ product-> condition == 'reconditionné'} <link itemprop = "itemCondition" href = "https://schema.org/RefurbishedCondition" /> <span class = "editable"> {ls = 'Rénové'} </ span> {/ 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