Jump to content

Change Condition Options


Miguel Bambo

Recommended Posts

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}

 

 

post-1017060-0-17561300-1457188064_thumb.jpg

post-1017060-0-43336800-1457195553_thumb.jpg

Edited by Miguel Bambo (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...