cikcak Posted April 24, 2015 Share Posted April 24, 2015 Hey, I got annoying problem. In stock filter not working correctly. It shows correct amount of product in stock, but when I click this filter I got message: no product found even it was In stock(5). I have tried to update block layered module to the newest version, reinstall it. Same trouble. My PS version: 1.6.0.9.Block layered: v2.0.7. First photo: http://prntscr.com/6xil5v Second photo: http://prntscr.com/6xild6 Filter generate such URL: http://shop.eu/en/140-sport#/availability-in_stock what can be related to this module and impact this filter? But only in stock filter not working. Other - works perfect. Best regards... Link to comment Share on other sites More sharing options...
Hisin Posted June 19, 2016 Share Posted June 19, 2016 Hi I got the same problem. I filter by in stock, but you can see out of stock products displayed! The q'ty of the product is correctly out of stock. Anyone can save us? Thanks. Link to comment Share on other sites More sharing options...
tuavitxinh Posted February 8, 2017 Share Posted February 8, 2017 Change in file modules\blocklayered\blocklayered.php From if ((int)$product['quantity'] > 0 || Product::isAvailableWhenOutOfStock($product['out_of_stock'])) to if ((int)$product['quantity'] > 0) 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