Jump to content


No.9's Content

There have been 1 items by No.9 (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#17813 How to remove "conditions" of product (new, refubrished etc.) form pr...

Posted by No.9 on 07 June 2018 - 10:36 AM in PrestaShop theme development & modifications

you have to modify product.tpl file located in your theme directory, there is a code like:

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

just remove it. and you will remove "condition" from your product page.

 

remember about clearing cache in some cases it's necessary to see the changes that you applied to tpl files

 

enjoy :)

 

 Great it's work fine