Hi @nummu4
I understand that the add_to_cart
event is being fired twice on your site.
There could be a few reasons why this is happening. One of the most common causes is a conflict with another plugin or theme, triggering the add_to_cart
event. To isolate the problem, you could try deactivating all other plugins and switching to a default theme like Storefront or Twenty-Twenty. If the problem stops, you can then reactivate them one by one to identify the conflicting plugin or theme. You can find a more detailed explanation of how to do a conflict test here.
Another possibility is that there might be some custom code on your site that is causing the event to fire twice. If you have added any custom code snippets to your site, you might want to check them to see if they could be causing this issue.
It’s also worth checking if the issue persists in different browsers or in incognito/private browsing mode. Sometimes, browser extensions can interfere with how a site functions.
Lastly, ensure your WooCommerce plugin and other plugins are updated to the latest version.
If none of these suggestions help, please provide further details about your site setup such as:
- System Status Report: navigate to WooCommerce → Status → select
Get system report
and then Download for support
. This will download a TXT file that has the contents of the SSR to share with us.
- Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
I hope this helps, and we look forward to your response on how it goes!