We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 12.12.18, 15:53
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12687 - Condition (Used/Brand New)


Is it possible to display on the thumbnail (in the homepage, archive/search and product page) the condition of the product?

Best Regards

This ticket does not depend on any other tickets.

Marek (marek) 10 Aug 2018, 12:13

But as I can see you already have it enabled: http://take.ms/GcjOH

anon (anonym01) 10 Aug 2018, 15:30

I think it's not the condition (Used/Brand New), it's because I just add the product.

Marek (marek) 10 Aug 2018, 16:17

But what is "condition"?

anon (anonym01) 10 Aug 2018, 17:07

see the screens in attach file.

condition.JPG (81.8 KiB)
condition-front.JPG (26.5 KiB)
Marek (marek) 10 Aug 2018, 18:22

Yes, I see.
There is no such option in the theme, it requires some code customisation

anon (anonym01) 11 Aug 2018, 00:06

Could you tell me your price for this request? (for three conditions)
Is there a private space to talk about that?

In the same topic, I want to change the position of the information of the tab "product details", I want to put in the same place of "summary".
Which file I need to modify?

Best Regards

condition4.png (26.6 KiB)
Marek (marek) 11 Aug 2018, 11:37

I just make a customisation for you:
https://okini.land/en/ Customized file is /themes/alysum/templates/catalog/_partials/miniatures/product.tpl
If you have a paypal you can pay 10 euro to [email protected]

anon (anonym01) 07 Sep 2018, 00:45


How can I translate these labels?
I can't see it on Translation part in back-office.


Marek (marek) 07 Sep 2018, 13:13

I have found out following topic about your question here https://www.prestashop.com/forums/topic/837771-how-to-change-text-on-product-flags/

It's not related to the theme, but this question is interesting for me as well

anon (anonym01) 09 Sep 2018, 02:40

I don't understand, I put this code;

        {block name='page_content_container'}
          <section class="page-content" id="content">
            {block name='page_content'}
              {block name='product_flags'}
                <ul class="product-flags" style="width:120px">
					<li class="{$product.condition.type}">{$product.condition.label}</li>
					{foreach from=$product.flags item=flag}
						{if $product.condition.label == 'new'}
							<li class="{$product.condition.type}">{l s='Brand New' d='Shop.Theme.Catalog'}</li>
						{elseif $product.condition.label == 'used'}
							<li class="{$product.condition.type}">{l s='Used' d='Shop.Theme.Catalog'}</li>
						{elseif $product.condition.label == 'refurbished'}
							<li class="{$product.condition.type}">{l s='Refurbished' d='Shop.Theme.Catalog'}</li>	
							<li class="{$flag.type}">{$flag.label}</li>

For Used and Refurbished, I can change and translate the text but for the condition "new", nothing change.

Marek (marek) 10 Sep 2018, 13:00

maybe the condition is wrong:

{if $product.condition.label == 'new'}