Penge Posted March 15, 2018 Share Posted March 15, 2018 (edited) Hello I am using prestashop 1.7.x In backoffice on product page and under Options it is possible to remove a tick in a box when the product is not available. Is it possible to get a ribbon on the image saying "Not available" when the box is unticked ? Or do I need a module for this ? I know there is a module for adding ribbons but then I need first to untick the box and then add the ribbon,. Means two steps. Anyone done this ? Petter Edited March 16, 2018 by Penge (see edit history) Link to comment Share on other sites More sharing options...
Penge Posted March 15, 2018 Author Share Posted March 15, 2018 Thank you....this is just what I am looking for :-) I will do the changes now and come back to you and tell you how it went :-.) Petter Link to comment Share on other sites More sharing options...
Penge Posted March 15, 2018 Author Share Posted March 15, 2018 Hello and thank you. It worked very well. Is it possible show the same thing on the category and also main page ? Petter Link to comment Share on other sites More sharing options...
Penge Posted March 16, 2018 Author Share Posted March 16, 2018 Yes and thank you again. I will try. I am not sure how to mark it solved. Do you just add "Solved" to the heading ? Petter Link to comment Share on other sites More sharing options...
Penge Posted March 16, 2018 Author Share Posted March 16, 2018 Yes I see it now. Thanks a lot. I will come back after my testing cheers. Link to comment Share on other sites More sharing options...
guzzy92fs Posted December 6, 2018 Share Posted December 6, 2018 (edited) The code here didnt work for classic template on prestashop 1.7.4.3, I used this code instead: {block name='product_flags'} <ul class="product-flags"> {if $product->quantity == 0 AND $quantity == 0} <li class="product-flag"> {l s="NOT AVAILABLE" d="Shop.Theme.Catalog"} </li> {/if} {foreach from=$product.flags item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} But just coudlt quite get the main page to show the label.. Edited December 6, 2018 by guzzy92fs (see edit history) Link to comment Share on other sites More sharing options...
ilisiaraul Posted May 20, 2019 Share Posted May 20, 2019 Any news? For display on homepage? Link to comment Share on other sites More sharing options...
guzzy92fs Posted May 22, 2019 Share Posted May 22, 2019 On 5/20/2019 at 9:07 AM, ilisiaraul said: Any news? For display on homepage? In my case, I ended up using a module to achieve it. Working good so far. It's called "Product Labels & Sticker" by FME Modules. Link to comment Share on other sites More sharing options...
ilisiaraul Posted January 27, 2021 Share Posted January 27, 2021 On 5/22/2019 at 8:09 AM, guzzy92fs said: In my case, I ended up using a module to achieve it. Working good so far. It's called "Product Labels & Sticker" by FME Modules. Thanks! I will check it out! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now