Miguel Bambo Posted March 5, 2016 Share Posted March 5, 2016 (edited) Hi, I would like to add my own options inside CONDITION variable as illustrated in the image attached but I dont know where I can change core files. I have added 'fair' and 'great' condition options without success.{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'}</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> {elseif $product->condition == 'fair'} <link itemprop="itemCondition" href="http://schema.org/FairCondition"/> <span class="editable">{l s='Fair'}</span> {elseif $product->condition == 'great'} <link itemprop="itemCondition" href="http://schema.org/GreatCondition"/> <span class="editable">{l s='Great'}</span> {/if} </p> {/if} Edited March 5, 2016 by Miguel Bambo (see edit history) Link to comment Share on other sites More sharing options...
Miguel Bambo Posted March 5, 2016 Author Share Posted March 5, 2016 I dont know if I missed something while coding. Your solution is welcome. Regards. 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