Vaibhavi Posted February 12 Share Posted February 12 Hello My Prestashop version 8.1.7 When I try to add a product to the cart from the product detail page (PDP), I get the error: "Product not found. This product () is no longer available." However, adding the same product to the cart from the home page or category page works fine. Also, I have tried Shopping cart module reset it & check with default classic theme but still I'm getting same error. Kindly help to resolve this issue. Link to comment Share on other sites More sharing options...
Ewonta Posted February 12 Share Posted February 12 Hello, turn on debugging and open the f12 console. Send what error it shows you. Link to comment Share on other sites More sharing options...
Vaibhavi Posted February 12 Author Share Posted February 12 I turn on the debugging and I have attached the snapshot of the error Thank you Link to comment Share on other sites More sharing options...
Ewonta Posted February 12 Share Posted February 12 Your mistake is being reported in class (screenshot) Check it out: 1) Is it available to the user 2) And its number is more than 0 Your mistake clearly shows that the product is out of stock Link to comment Share on other sites More sharing options...
Vaibhavi Posted February 12 Author Share Posted February 12 I have check with you shown cart controller file from the controller I getting quantity 0 but in back-office I have 1000 stock. Link to comment Share on other sites More sharing options...
Ewonta Posted February 12 Share Posted February 12 Look carefully, maybe you have a variable product. 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