• Resolved nummu4

    (@nummu4)


    On my site the add_to_cart event is fired 2 timesbut I can’t understand why. Can you help me find a solution?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • hrn1995 (woo-hc)

    (@aguinaldodarla)

    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 WooCommerceStatus → 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 WooCommerceStatusLogs.

    I hope this helps, and we look forward to your response on how it goes!

Viewing 1 replies (of 1 total)
  • The topic ‘Add to cart event fired 2 times’ is closed to new replies.