fideel Posted August 5, 2009 Share Posted August 5, 2009 Hello,In attachement you will find a screenshot belonging to my question.So, i have several articles with quantity 0 ( meaning i don't have them in stock )When you see my settings ( attachement ) i will let the customers be able to order the articles ( they can see in the productdetail how long they will have to wait).But on every page ( product group and pruduct details, it is still 'available'.Did i do something wrong? How can i solve this problem?So, when an article has 0 quantity, i would like it's clear that the article is ' out of stock for this moment' but will be able to let the customers buy it.Anu suggestions?thx Link to comment Share on other sites More sharing options...
jhnstcks Posted August 5, 2009 Share Posted August 5, 2009 You need to set your option "allow ordering out of stock products" to NO. Link to comment Share on other sites More sharing options...
fideel Posted August 5, 2009 Author Share Posted August 5, 2009 i did do that.1 ) noting changes, still 'available' and the cart button is still visible2 ) this option will 'Add to cart button is hidden when product is unavailable'.. but i want to be able to sell the 'out of stock articles' also!Strange? Link to comment Share on other sites More sharing options...
fideel Posted August 5, 2009 Author Share Posted August 5, 2009 Sorry, i was missed.Now i have in BO>preferences>products - Allow ordering out-of-stock product: NOSo now the text is correct ' out of stock' in frontoffice.But the cart buttons is gone.How can i cobine these two? I would like to be able to seel products who are 'out of stock'Thx Link to comment Share on other sites More sharing options...
fideel Posted August 6, 2009 Author Share Posted August 6, 2009 anyone with a solution? Link to comment Share on other sites More sharing options...
fideel Posted August 9, 2009 Author Share Posted August 9, 2009 SOLVED ! Solution:Find in theme/yourtheme/ Product-list.tplfind: {if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if} change into: {if $product.quantity > 0}{l s='Available'}{elseif $product.allow_oosp}{l s='Available soon'}{else}{l s='Out of stock'}{/if} then you need to change the translations for 'available soon' in your languages ( in backoffice / tools // translations / modify translatiosn / front office ) Link to comment Share on other sites More sharing options...
noesac Posted August 1, 2010 Share Posted August 1, 2010 Thank you, very helpful!!! Link to comment Share on other sites More sharing options...
Recommended Posts