Jump to content
  • 0

New Product / How Do I Take It Out From Product View ?


mfermo

Question

4 answers to this question

Recommended Posts

  • 0

Great ! I'll have a try. Thank you !

 

 

 

Yes you can do this even on the cloud version, you will need an FTP program and add an FTP user to your Cloud store.

You will find the FTP user account in the settings section of you stores information, you access this by simply clicking the drop down next to your login name at the top of this screen.

 

Once there click on store details and you will see the ftp area, here is some very useful info.

http://doc.prestashop.com/display/CLOUD/Managing+FTP+users

 

 

Once you have this figured out login to your sores files and go to themes/default-bootstrap, scroll down and find product.tpl right click the file and choose edit, scroll down to lines 163 if your FTP shows line numbers if not look for this code, I added the   {* allthecode *}     before and after the code this comments it out and removes the filed from the product page.

 

 

{* {if !$product->is_virtual && $product->condition}
<p id="product_condition">
<label>{l s='Condition:'} </label>
{if $product->condition == 'new'}
<link itemprop="itemCondition" href="https://schema.org/NewCondition"/>
<span class="editable">{l s='New product'}</span>
{elseif $product->condition == 'used'}
<link itemprop="itemCondition" href="https://schema.org/UsedCondition"/>
<span class="editable">{l s='Used'}</span>
{elseif $product->condition == 'refurbished'}
<link itemprop="itemCondition" href="https://schema.org/RefurbishedCondition"/>
<span class="editable">{l s='Refurbished'}</span>
{/if}
</p>
{/if} *}
 
 
This may seem like al ot but it is really not that hard, by commenting out the code rather then deleting it you can easily restore if wanted.

 

Link to comment
Share on other sites

  • 0

Hi,

But editing a product you can either to set it as a new product or not. So just uncheck the new product option when editing

from BO.  

 

Yes, thx must be blind...on the other side still need to pick up between: new, used or refurbished. I was wondering (but I believe no) if there's any way of taking it off completely...

Link to comment
Share on other sites

  • 0

Yes you can do this even on the cloud version, you will need an FTP program and add an FTP user to your Cloud store.

You will find the FTP user account in the settings section of you stores information, you access this by simply clicking the drop down next to your login name at the top of this screen.

 

Once there click on store details and you will see the ftp area, here is some very useful info.

http://doc.prestashop.com/display/CLOUD/Managing+FTP+users

 

 

Once you have this figured out login to your sores files and go to themes/default-bootstrap, scroll down and find product.tpl right click the file and choose edit, scroll down to lines 163 if your FTP shows line numbers if not look for this code, I added the   {* allthecode *}     before and after the code this comments it out and removes the filed from the product page.

 

 

{* {if !$product->is_virtual && $product->condition}
<p id="product_condition">
<label>{l s='Condition:'} </label>
{if $product->condition == 'new'}
<link itemprop="itemCondition" href="https://schema.org/NewCondition"/>
<span class="editable">{l s='New product'}</span>
{elseif $product->condition == 'used'}
<link itemprop="itemCondition" href="https://schema.org/UsedCondition"/>
<span class="editable">{l s='Used'}</span>
{elseif $product->condition == 'refurbished'}
<link itemprop="itemCondition" href="https://schema.org/RefurbishedCondition"/>
<span class="editable">{l s='Refurbished'}</span>
{/if}
</p>
{/if} *}
 
 
This may seem like al ot but it is really not that hard, by commenting out the code rather then deleting it you can easily restore if wanted.
  • Like 1
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...