If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

PrestaShop 1.6.x. How to remove “Condition” field from product details page

Hello! This video tutorial shows how to remove “Condition” field from product details page in PrestaShop 1.6.x templates.

PrestaShop 1.6.x. How to remove “Condition” field from product details page

There is a condition field on the product details pages, which you may want not to display:

prestashop_1.6.x_how_to_remove_condition_field_from_product_page_1

The product condition can be “New”, “Used” or “Refurbished”.

Let’s learn how to get rid of it.

  1. Using your FTP/hosting control panel File Manager navigate to /themes/themeXXXX/ directory (where XXXX is your theme number) to locate the product.tpl file:

    prestashop_1.6.x_how_to_remove_condition_field_from_product_page_2

  2. Open the file for editing and locate the “product_condition” text using CTRL+F/CMND+F key (Windows OS/Mac OS):

    prestashop_1.6.x_how_to_remove_condition_field_from_product_page_3

  3. Comment out/remove the following code:

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

Commented out code will look as follows:

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

prestashop_1.6.x_how_to_remove_condition_field_from_product_page_4

Do not forget to save the file to apply changes.

Navigate to the product page and refresh it to see changes.

You can see the condition field is no longer displayed:

prestashop_1.6.x_how_to_remove_condition_field_from_product_page_5

This is the end of the tutorial. You have learnt how to remove “Condition” field from product details page in PrestaShop 1.6.x templates.

Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to remove “Condition” field from product details page

 
Start chat