Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rishi Mehta

    (@rcreators)

    Hello madwear,

    For that you need to add js on change event for dropdown like this.

    jQuery(document).ready(function($){
        $('.variations').on('change', 'select[name^=attribute]', function(e) {
            $variation_form = $( this ).closest( '.variations_form' );
            $variation_form.find('.single_add_to_cart_button').removeClass('added');
    $variation_form.find('.added_to_cart.wc-forward').hide();
        });
    });

    Let me know if its work for you.

    Thread Starter madwear

    (@madwear)

    Works just fine! Thanks a lot! ??

    Plugin Author Rishi Mehta

    (@rcreators)

    Hello madwear,

    Great you get it working. If you like, you can post your review on review page. It will help other users to decide on plugin to use or not. ??

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncheck if a new variable is selected’ is closed to new replies.