carrocero Posted September 1, 2015 Share Posted September 1, 2015 Hi! Im trying to add "not available" text on the size attributes out of stock but i don't know how to do it. There's a topic where the solution is found with this: {if $product->quantity == 0} {l s='YOUR COMMUNICATE HERE'}{/if} The thing is that i dont know where it should be added. Im trying but nothing yet... Thanks in advance! Link to comment Share on other sites More sharing options...
NemoPS Posted September 2, 2015 Share Posted September 2, 2015 You mean besides the text in the select box/radio? This might be more complex than adding the text. Prestashop goes through attributes one by one, so if you have multiple, it can't guess the combination quantity by that time. Instead, it uses javascript to read each box value, find a combination id and display the out of stock text Link to comment Share on other sites More sharing options...
carrocero Posted September 2, 2015 Author Share Posted September 2, 2015 Hi Nemo, Thank you for your answer! I suppose that the text should be added to product.js file..but could you help me with the exactly words i need to add please? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts