Removing Items From Cart on Mobile Devices
-
Hi,
I have an issue I’ve been trying to fix for hours now. On a mobile device this site https://www.nicholasjohninteriors.co.uk/ has issues with removing items from the cart. We are using WP Super Cache and Cloudflare and have tested it with these disabled but the same issue happens. It works fine on a desktop.
To re-produce the issue do the following:
1. On a mobile go to https://www.nicholasjohninteriors.co.uk/ then on the hoe page add any product to the basket.
2. Click on the basket icon and the product is there in the basket. Remove the product by clicking the X and the product is removed the basket is showing as empty.
3. Click on any other page of the site and then click on the basket again the previously removed product is back.
4. if you then refresh the cart page it shows as empty so it’s as if the cart isn’t refreshing to confirm the changes.I’ve tried to find some code to force the cart to refresh after a product is removed but the code I found didn’t work.
This issue still happens when using the Storefront theme so it’s not a theme issue. I’ve disabled all plugins apart from Woocommerce and it still happens so it’s not a plugin issue. I host a number of Woocommerce powered websites on the same server and test these and it doesn’t happen so it’s not a server issue. I am stumped to say the least. If anyone could help or point me in the right direction that would be great?
Thanks,
James Isles
- The topic ‘Removing Items From Cart on Mobile Devices’ is closed to new replies.