ChandigarIT Posted March 24, 2022 Share Posted March 24, 2022 When a customer who is not registered adds an item to the basket, it says "Product successfully added to your shopping cart", but in fact it is not; the next line down says "There is 0 item in your cart". See screenshot. Is there a way of getting round this, or putting up a message warning the customer that they need to be logged on? Thanks Link to comment Share on other sites More sharing options...
Nickz Posted March 24, 2022 Share Posted March 24, 2022 Since when do you have glitch? Check server stats for php version changes Link to comment Share on other sites More sharing options...
ChandigarIT Posted March 25, 2022 Author Share Posted March 25, 2022 It's a fresh install less than 2 weeks ago, I'm still filling the database with products. I was testing it before it goes live and found this out when inspecting it from a phone. Link to comment Share on other sites More sharing options...
Nickz Posted March 25, 2022 Share Posted March 25, 2022 19 hours ago, ChandigarIT said: who is not registered There is your issue IMHO Guest shopping is enabled? Link to comment Share on other sites More sharing options...
ChandigarIT Posted March 25, 2022 Author Share Posted March 25, 2022 Yes, Guest shopping is allowed. But surely, if a guest CAN shop, the items should go into the cart? Link to comment Share on other sites More sharing options...
Nickz Posted March 25, 2022 Share Posted March 25, 2022 2 hours ago, ChandigarIT said: But surely, if a guest CAN shop, the items should go into the cart? I think you need to look into if a Guest needs a email registration which should be in the backend somewhere. Link to comment Share on other sites More sharing options...
Ress Posted March 27, 2022 Share Posted March 27, 2022 Enable debugging, and check in the browser console, in the network tab, the answer received from add to cart ajax. 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