Mini-Cart Error
-
I am getting a weird bug. Normally, when I add an item to the cart a side cart will appear on the page and the mini-cart will show 1 for one item in the cart.
The problem occurs when I leave my site and come back. The item still shows in the mini-cart but if you click to view the side cart appears but it is blank. I can go straight to the cart with the url and the item is in the cart. If I add another item into the cart both items then appear in the side cart but if I leave and come back same problem nothing in side cart.
When i inspect the page i am showing the following error:
Uncaught TypeError: Cannot read property ‘includes’ of undefined
at HTMLDocument.<anonymous> (script.min.js?wpacuversion=1581182919:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
- The topic ‘Mini-Cart Error’ is closed to new replies.