"Add to cart" button does not work from a mobile device

Posted in: Newspaper
Post count: 92

Hello
Website: https://amarant.restaurant/
WooCommerce version 8.1.1
NewsPaper version 12.6
Ajax mode for add to cart button is enabled
The button works on desktops
In mobile screen emulation mode, the button works
The button does not work from a mobile device, we checked from different devices. The button itself is visually responsive, and if you refresh the page, the product appears in the cart.
Disabling the caching plugin did not help
Example: https://amarant.restaurant/dostavka
It seems to us (but we are not sure) that the problem started after updating the Woocommece plugin
Please provide assistance

Post count: 92

Additional Information
The button does not work from the product category page
The button WORKS from the product single page, while when adding the product itself, the page reloads, as if the Ajax mode was not enabled
On the Woo Product Block in the product single page (with a related products filter) the buttons WORK perfectly

Post count: 21065

Hello @smga!

If you see this button changed: https://prnt.sc/h7GCpGanACrl then the feature works well.

Thank you!

Post count: 92

Bettina, I apologize, you probably did not understand me
I know what a working “Add to Cart” button looks like when clicked.
As I wrote earlier, the buttons do not work in some cases.
On some template pages they work, on others they don’t. Perhaps the template is incompatible with WooCommece version 8.1.1 or perhaps something else. What advice do you have as a template developer to resolve this issue?
Thank you

Post count: 21065

Hello @smga!

I’ve tested on my end, and it seems that the issue is not a conflict with Woocommerce or a bug from the latest update.
So, probably, it could be a plugin conflict or a cache issue. Make a test and deactivate ALL plugins except tagDiv ones, also if you are using a cache plugin, deactivate it, clear all cache and try again.

Let me know the results!

Thank you!

Post count: 92

Hi, Bettina!
I turned off all plugins and it did not give results
We found out that on the two problem page templates: the product category and the store’s main page, if we remove the Woo Menu Cart element from page, the Add to cart button works well
If the Woo Menu Cart element is present on the page, the Add to cart function is disabled
At the same time, it doesn’t matter where the Woo Menu Cart element is located in the header or in the body of the page
On the simple product page, the Add to cart button works perfectly when the Woo Menu Cart element is enabled
The problem occurs only on mobile devices

Post count: 21065

Hello @smga!

Can you please provide an example(video) of your issue?

Thank you!

Post count: 92

Video link: https://1drv.ms/v/s!AsyBghFTVpCCguAuotrjQg1HYr59Cg?e=9xRBPd
But here’s what’s interesting
I just checked out your demo template at https://demo.tagdiv.com/newspaper_shop_watches_store/ from a mobile device
The “Add to Cart” buttons on this page from my phone do not work. Exactly the same as on my website.

Post count: 21065

Hello @smga!

I will add this bug to our investigation list.
We’re sorry for this inconvenience!

Thank you!

Post count: 92

Hello. Rolling back to version 12.5 solved all the problems

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.