Home Forums WoodMart support forum Variable Products broken after WooCommerce update

Variable Products broken after WooCommerce update

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #708778

    Mike
    Participant

    After updating WooCommerce, the “Add to Cart” button on variable products remains disabled even when all variations are selected.
    Investigation shows:
    WooCommerce correctly triggers the found_variation event and enables the button.
    WoodMart’s custom JavaScript is re-disabling the button immediately after, preventing users from adding variable products to the cart.

    Expected behavior:
    The “Add to Cart” button should remain enabled once a valid variation is selected.
    Temporary workaround that fixes the issue:

    jQuery(‘form.variations_form’).on(‘found_variation’, function(){
    jQuery(‘.single_add_to_cart_button’).prop(‘disabled’, false);
    });

    Could you please update the theme JavaScript so that the Add to Cart button for variable products respects WooCommerce’s found_variation and reset_data events?

    Thank you

    #708844

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please follow this discussion in this thread about this issue:
    https://xtemos.com/forums/topic/critical-issue-variable-products-broken-after-woocommerce-update-outdated-temp/

    Hope this Helps!

    Best Regards,

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