Home Forums WoodMart support forum URGENT: “Add to Cart” Not working

URGENT: “Add to Cart” Not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #662038

    marcopolo
    Participant

    Hi Team,

    Noticed a strange issue that the add-to-cart button is not adding product to cart. Tried with multiple products (variable) and same result.

    Screen records attached:
    Here

    Request you to urgently look into this.

    • This topic was modified 13 hours, 17 minutes ago by marcopolo.
    • This topic was modified 13 hours, 16 minutes ago by marcopolo.
    #662045

    marcopolo
    Participant

    To update, I have already tried with plugins disabled (except for woodmart critical plugins), cleared cache on all the places, verified database, repaired database, even changed single product layout but the issue persists.

    #662067

    marcopolo
    Participant

    After further investigation, I could isolate the issue caused by joinchat plugin however the same time, woodmart’s traces were also seen in the console. Focusing on woodmart now:

    The browser console shows warnings about duplicate element IDs (#pa_quantity and #wd-add-to-cart) indicating that product variation elements are loaded twice. Additionally, the JoinChat plugin’s JavaScript appears to conflict with the theme’s WooCommerce scripts, causing event handlers to fire multiple times and breaking button functionality.

    I’ve tried disabling plugins, clearing caches, and debugging, and identified that the JoinChat plugin delays or duplicates script execution, leading to these conflicts.

    Could you please advise on how to:

    Prevent the theme or WooCommerce scripts from loading or initializing variation data twice?

    Fix duplicate HTML IDs in the product variation markup?

    Ensure compatibility with JoinChat or other third-party chat plugins?

    #662201

    Hello,

    I have checked your site and activated the join. chat plugin and the products are adding fine to the cart.
    See Video for clarification: https://uploadnow.io/files/nbMtxvC

    Check back your site and check the issue. If you have any questions, feel free to contact us.

    Best Regards,

    #662205

    marcopolo
    Participant

    HI Aizaz, I had raised a support with the joinchat team and they promptly published a new update, I had updated the plugin right when you logged in and tested to confirm the issue was resolved.

    However, did you manage to verify why is the duplicate element IDs being generated by woodmart in the console?

    #662235

    Hello,

    I have not seen this error in the browser console. To better understand the issue, please share some screenshots of the errors you’re encountering. This will help me analyze the problem and provide you with the best possible solution.

    Best Regards,

Viewing 6 posts - 1 through 6 (of 6 total)