kpoptown Posted May 21, 2018 Share Posted May 21, 2018 I have installed prestashop 1.7.3 I tried to put items in a cart but it always give me There are not enough products in stock, even there are lots of stocks. Front store is store.kpoptown.com What's wrong? Link to comment Share on other sites More sharing options...
offroader Posted May 22, 2018 Share Posted May 22, 2018 i don`t have this problem on your site. Link to comment Share on other sites More sharing options...
tdsoft Posted May 22, 2018 Share Posted May 22, 2018 http://store.kpoptown.com/index.php?id_product=2876&id_product_attribute=0&rewrite=spotlight-cube-entertainment-ceo-book-beast-4minute&controller=product I have try to add to cart, it is working as normally??? Link to comment Share on other sites More sharing options...
kpoptown Posted May 23, 2018 Author Share Posted May 23, 2018 Oh..really?It would be great. Thanks a lot for trying to put items in a cart !! I cleared cache and try to put items in a cart and then i can. But i wonder why this happened..And i'm afraid all my clients would be have problems before clearing cache. Link to comment Share on other sites More sharing options...
01K Posted May 24, 2018 Share Posted May 24, 2018 (edited) Sorry, my fault Edited May 24, 2018 by 01K (see edit history) Link to comment Share on other sites More sharing options...
HairMaker.Gr Posted May 31, 2018 Share Posted May 31, 2018 How can i change this message with ( out of stock). thanks Link to comment Share on other sites More sharing options...
Chikane Posted August 2, 2018 Share Posted August 2, 2018 Did you solve that issue? It also happens to me randomly, even with version 1.7.4.2 Link to comment Share on other sites More sharing options...
Marian69 Posted September 6, 2018 Share Posted September 6, 2018 Hello, I found your post... I have exactly the same problem but even when I remove cache it doest works anymore. This message come everytime : "There are not enough products in stock" Here is our shop : http://test.gonesdesign.com/en/home/20-zoo-turtle-lamp.html Someone has a solution ? I am desperate thank you.. Link to comment Share on other sites More sharing options...
White Lion Posted September 7, 2018 Share Posted September 7, 2018 I've tried to change "There are not enough products in stock" to "Out of stock" using Prestashop 1.7.4.2 Back Office with "Translation" option. But that was not successful. I did this on PS 1.6 and changed " This product is no longer in stock. " to "Out of Stock" successfully. Link to comment Share on other sites More sharing options...
CJH Posted December 15, 2018 Share Posted December 15, 2018 I also have this problem in 1.7.4.4 - the translations option will not update the phrase. Because of the way I use combinations, I desperately need to change this wording before I can move from my current 1.6 to new (in maintenance, under development) 1.7 shop. Translations won't update the phrase 'There are not enough products in stock' so I have searched everywhere, inside files, to try to work out where the original is being called from. If I can find the .tpl or .php or anything else where it comes from, I will edit it there. I've (literally) spent days searching but failed. I don't know if this is a failing in the theme (though the developer says not) or in Prestashop - it isn't the only area of the shop where translations don't work. Anyone any clue where these words are called from? Link to comment Share on other sites More sharing options...
jungwirbtgut Posted January 7, 2019 Share Posted January 7, 2019 Same problem - after adding: https://lynis-nailshop.de/taifun-1-profi-staubabsaugung this to product cart - I have the error: {"success":false,"hasError":true,"errors":["There isn't enough product in stock."]} When the error comes - it's not possible to add a coupon code and it's also buggy on mobile that you can't click on menu .. Anyone a solution? Link to comment Share on other sites More sharing options...
jetx Posted March 26, 2019 Share Posted March 26, 2019 On 6/1/2018 at 3:16 AM, hairmania said: How can i change this message with ( out of stock). thanks A really old post but anyway as I also wanted to change this message I had to edit ln 751 (version 1.7.5.1), src/Adapter/Presenter/Product/ProductLazyArray.php Link to comment Share on other sites More sharing options...
8ternity Posted January 28, 2020 Share Posted January 28, 2020 On 3/25/2019 at 8:59 PM, jetx said: A really old post but anyway as I also wanted to change this message I had to edit ln 751 (version 1.7.5.1), src/Adapter/Presenter/Product/ProductLazyArray.php I've done the fix from Github and exactly the samething. Both languages are still shown default message. I don't know how to fix it in version 1.7.5.1. Github changes on ProductLazyArray.phphttps://github.com/PrestaShop/PrestaShop/pull/12655/commits/1132abd94382fc13c614371a85c108be1cc26a31 Not fix it for me. Link to comment Share on other sites More sharing options...
8ternity Posted January 28, 2020 Share Posted January 28, 2020 I resolved it. I download a Fresh installation of 1.7.6.3 files and copy the line 788 of \src\Adapter\Presenter\Product\ProductLazyArray.php, replace the line 766 into the version of 1.7..5.1 currently in my store (same file). Replace } elseif ($product['quantity'] - $product['quantity_wanted'] < 0) { for } elseif ($product['quantity_wanted'] > 0 && $product['quantity'] > 0) { And now it's fixed. It was present in my version 1.7.5.1 and with the changes into the v1.7.6.3, it's working now with the label entered into "Product Settings". Link to comment Share on other sites More sharing options...
aliasbuz Posted June 3, 2020 Share Posted June 3, 2020 i have the same problem with 1.7.5.2, but the string } elseif ($product['quantity_wanted'] > 0 && $product['quantity'] > 0) { is already present in the ProductLazyArray.php file (at same line) any suggestions? Link to comment Share on other sites More sharing options...
Diego Galma Posted August 25, 2020 Share Posted August 25, 2020 Same problem Link to comment Share on other sites More sharing options...
Diego Galma Posted August 25, 2020 Share Posted August 25, 2020 I think I fix doing this This } elseif ($product['quantity_wanted'] > 0 && $product['quantity'] > 0) { For this } elseif ($product['quantity_wanted'] > 1 && $product['quantity'] > 0) { Link to comment Share on other sites More sharing options...
helgedopler Posted August 26, 2020 Share Posted August 26, 2020 (edited) It additionally transpires arbitrarily, even with variant 1.7.4.2. I've attempted to change "There are insufficient items in stock" to "Unavailable" utilizing Prestashop 1.7.4.2 Back Office with "Interpretation" choice. In any case, that was not effective. blackfridayvpn.net Edited August 28, 2020 by helgedopler (see edit history) Link to comment Share on other sites More sharing options...
Diego Galma Posted August 27, 2020 Share Posted August 27, 2020 I thought I had fixed it but it does not work, if anyone has any progress or correction please comment. Link to comment Share on other sites More sharing options...
Diwad Posted July 22, 2021 Share Posted July 22, 2021 On 5/21/2018 at 12:26 PM, kpoptown said: I have installed prestashop 1.7.3 I tried to put items in a cart but it always give me There are not enough products in stock, even there are lots of stocks. Front store is store.kpoptown.com What's wrong? Hello. did you find a fix for that? I have same issue with 1.7.6.1 and 1.7.7.5. I can't even reproduce the issue, but my clients are sometimes writing about it. we are using warehouse theme. https://homescreen.pl Any advice appreciated. Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 23, 2021 Share Posted July 23, 2021 15 hours ago, Diwad said: Hello. did you find a fix for that? I have same issue with 1.7.6.1 and 1.7.7.5. I can't even reproduce the issue, but my clients are sometimes writing about it. we are using warehouse theme. https://homescreen.pl Any advice appreciated. Did you set a minimum quantity, that could be added to cart? Link to comment Share on other sites More sharing options...
Diwad Posted July 25, 2021 Share Posted July 25, 2021 Well, we don't have minimum quantity set, but the problem is almost unreplicable... It appears in random situations, when adding to cart. Cleaning cookies for our website helps. Incognito mode too. Relogin helps for one order only... Recently we checked carts and orders ids and it seems fine. We have no clue how to find the bug. Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 26, 2021 Share Posted July 26, 2021 14 hours ago, Diwad said: Well, we don't have minimum quantity set, but the problem is almost unreplicable... It appears in random situations, when adding to cart. Cleaning cookies for our website helps. Incognito mode too. Relogin helps for one order only... Recently we checked carts and orders ids and it seems fine. We have no clue how to find the bug. Reset, clear cart module? Link to comment Share on other sites More sharing options...
PizzaPie Posted July 13, 2022 Share Posted July 13, 2022 Hi, I have the same issue and I really think it's related to Warehouse theme. But my license is expired so I can't ask for support... does anyone have an active support licence for Warehouse theme? Link to comment Share on other sites More sharing options...
siomosp Posted October 26, 2023 Share Posted October 26, 2023 Hello, have you managed to solve this, using warehouse theme ? 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