easycup Posted August 19, 2014 Share Posted August 19, 2014 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 Link to comment Share on other sites More sharing options...
Paulito Posted August 19, 2014 Share Posted August 19, 2014 Hello Have you tried to <!--comment out--> this code in: product.tpl Paul Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 19, 2014 Share Posted August 19, 2014 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 More sharing options...
easycup Posted August 19, 2014 Author Share Posted August 19, 2014 Hi Benjamin, I see it there- i just can't make it go away. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 19, 2014 Share Posted August 19, 2014 What happens when you change it and press save? Link to comment Share on other sites More sharing options...
easycup Posted August 19, 2014 Author Share Posted August 19, 2014 Hi Benjamin, I can change it - it changes accordingly. That's not the problem. I don't want anything there at all. No Condition. Link to comment Share on other sites More sharing options...
Paulito Posted August 19, 2014 Share Posted August 19, 2014 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 http://screencast.com/t/WqgUTD5Cfx After http://screencast.com/t/VgPFddK5qPV Paul 3 Link to comment Share on other sites More sharing options...
easycup Posted August 19, 2014 Author Share Posted August 19, 2014 Worked like a charm. Thanks again Paulito! Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 19, 2014 Share Posted August 19, 2014 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 http://screencast.com/t/WqgUTD5Cfx After http://screencast.com/t/VgPFddK5qPV 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts