• Hi,
    Thanks very much for this plugin, I really like it.
    I made a minor change that I thought I would share.
    I use the plugins WooCommerce Subscriptions and All Products Subscriptions, which allow the customer to choose different subscription options for each item in their cart (e.g. One Time, Every Week, Every 2 Weeks) via radio buttons.
    As your plugin was unaware of these, it was not updating the cart if these were changed.
    I fixed the problem by adding another selector to the jquery as below.

    @@ -373,7 +373,7 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
    
                            var timeout;
    
    -                       jQuery("div.woocommerce").on("change keyup mouseup", "input.qty, select.qty", function(){ // keyup and mouseup for Firefox support
    +                       jQuery("div.woocommerce").on("change keyup mouseup", "input.qty, select.qty, .wcsatt-options input", function(){ // keyup and mouseup for Firefox support
                                    if (timeout != undefined) clearTimeout(timeout); //cancel previously scheduled event
                                    if (jQuery(this).val() == "") return; //qty empty, instead of removing item from cart, do nothing
                                    timeout = setTimeout(function() {
    

    Best wishes

    • This topic was modified 4 years, 6 months ago by uniqcode.
  • The topic ‘Added support for Subscription options’ is closed to new replies.