Jump to content

How do I hide Condition: New


Recommended Posts

Hi there!

I'm editing my site and wanted to know if someone can tell me how to hide 

Condition:new from my product info pages?

 

 

http://easycup.com/en/light-roasts/8-mira-mist.html

 

Hi, I don't think you need to code anything. When you edit your product in the backoffice, where you enter the price, there is an option to select "Condition" .. Do you see it there?

Link to comment
Share on other sites

Hello

 

If Benjamins answer does not work for you then:

 

Why not go to:

 

public_html/Your Shop/themes/default-bootstrap/product.tpl

and around Line 159 <!-- Comment out --> this code

 

<!--<p id="product_reference"{if empty($product->reference) || !$product->reference} style="display: none;"{/if}>
<label>{l s='Model'} </label>
<span class="editable" itemprop="sku">{if !isset($groups)}{$product->reference|escape:'html':'UTF-8'}{/if}</span>
</p>
{capture name=condition}
{if $product->condition == 'new'}{l s='New'}
{elseif $product->condition == 'used'}{l s='Used'}
{elseif $product->condition == 'refurbished'}{l s='Refurbished'}
{/if}
{/capture}
<p id="product_condition"{if !$product->condition} style="display: none;"{/if}>
<label>{l s='Condition'} </label>
<span class="editable" itemprop="condition">{$smarty.capture.condition}</span>
</p>-->
 
Before
 
After
 
Paul
  • Like 3
Link to comment
Share on other sites

 

Hello

 

If Benjamins answer does not work for you then:

 

Why not go to:

 

public_html/Your Shop/themes/default-bootstrap/product.tpl

and around Line 159 <!-- Comment out --> this code

 

<!--<p id="product_reference"{if empty($product->reference) || !$product->reference} style="display: none;"{/if}>
<label>{l s='Model'} </label>
<span class="editable" itemprop="sku">{if !isset($groups)}{$product->reference|escape:'html':'UTF-8'}{/if}</span>
</p>
{capture name=condition}
{if $product->condition == 'new'}{l s='New'}
{elseif $product->condition == 'used'}{l s='Used'}
{elseif $product->condition == 'refurbished'}{l s='Refurbished'}
{/if}
{/capture}
<p id="product_condition"{if !$product->condition} style="display: none;"{/if}>
<label>{l s='Condition'} </label>
<span class="editable" itemprop="condition">{$smarty.capture.condition}</span>
</p>-->
 
Before
 
After
 
Paul

 

 

That's why we love you! 

 

Thanks, Paulito. I'll see if we can make this easier in future versions, easycup is not the only one who has mentioned this request. 

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...