tatamimi Posted April 10, 2015 Share Posted April 10, 2015 (edited) Hello!I can't translate "In stock" in the shopping cart page...Before, it was translated. but after update to the latest version(1.6.0.14), only the "In stock" text in the shopping cart page is not translated...I looked into the "shopping-cart-product-line.tpl" and checked the text "In stock" and changed this text to "In stock test", but the change is not shown in the shoppig cart page. I think after the update, some override is working and the original text of "In stock" is not shown... I want to know how to translate it.Someone knows it? Thank you in advance. Edited April 20, 2015 by tatamimi (see edit history) Link to comment Share on other sites More sharing options...
sandipchandela Posted April 16, 2015 Share Posted April 16, 2015 There are two "In Stock" in same file. Have you changed two of the labels or just one. Working for me nicely. 1 Link to comment Share on other sites More sharing options...
tatamimi Posted April 20, 2015 Author Share Posted April 20, 2015 Thank you sandipchandela!and sorry to be late to reply.I verified the template but I found that, in the version of 1.6.0.9, the text of template file appears,but in the version of 1.6.0.14, always the text of "In Stock" is shown dispite the template file's text is changed... Link to comment Share on other sites More sharing options...
tatamimi Posted April 20, 2015 Author Share Posted April 20, 2015 I found the solution in the past thread.https://www.prestashop.com/forums/topic/316360-solved-in-stock-field-not-being-translated/ I should change the code of "{$product->available_now}", not the part of "{l s='In Stock'}".Anyway, thank you for your help and advice. Link to comment Share on other sites More sharing options...
rudolfk Posted September 12, 2015 Share Posted September 12, 2015 If you have lot of products in your database, the a simple way is update fields available_now = 'In Stock' with available_now = 'Your Translaton' for id_lang='Your Language ID' in table ps_product_lang. 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