Jump to content

Miguel Bambo

Recommended Posts

Hi,
I think it is a BUG.
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}

 

I dont know if I missed something while coding.

 

Your solution is welcome.

 

Regards.

post-1017060-0-20876300-1457254035_thumb.jpg

post-1017060-0-64819000-1457253849_thumb.jpg

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...