Jump to content

Recommended Posts

I'm using the theme prestashop_alt.

 

Adding items, I use the item condition (new, used, refurbished) and I verify that this information is correctly inserted in the database.

 

In the page of the items, front-end side, is always shown the "new" as condition of the item.

This is a problem, because my store sell used and refurbished products.

I verify and this options are not present in the language files of prestashop.

 

Any solution?

 

PS: sorry for my poor english... I hope it is easy to understand my question...

Link to comment
Share on other sites

What you are seeing is probably the new label given to the products due to addition to catalog recently. To test if that is the case change BO > Preferences > Product > Number of days during which the product is considered 'new' setting to a smaller number and test a product again.

 

Display of product condition has never been implemented in an official PrestaShop template. It is used for submission to Amazon etc. If you want to add it, insert following snippet into a suitable location in /themes/prestashop_alt/product.tpl:

 

<p>{l s='Condition'}: {$product->condition}</p>

Link to comment
Share on other sites

Thank you, PrestaShop Fanatic.

In the scenes.tpl the code is

 

<h4><span class="product_name">{$product.details->name}</span>

{if isset($product.details->new) AND $product.details->new}<span class="new">{l s='New'}</span>{/if}

</h4>

 

The used and refurbished conditions are not present.

 

Now I will try your suggestion.

Link to comment
Share on other sites

  • 10 months later...

I am very new to prestashop, and i want to show my product condition on page where customer see my product, I want to show it where price is ,

everyone says, its

add line in /theme/prestashop/product.tpl,

but where do i find this product.tpl,

I think this file? under public_html

/home/aatlu200/public_html/themes/my-theme/product.tpl

 

where do I enter those code and what line, everyone say appropriate line, my file is almost default file,

Can any one help where do i enter and what do i enter,

Yesterday i was able to add product condition, like Used-Like New by removing refurbish, but not able to show it in product view page,

I want to show product condition around price some where

Please help me,

Thank you very much in advance,,,

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