• Hi,

    I would like to ask for assistance regrading Autoship Option in cart. We have Schedule Products in the Cart enabled to display Autoship options for each product in the Cart https://prnt.sc/rEvJvii4srxk and it is working well.

    However, we would like to autoupdate the cart so it will update without clicking the update cart button and we are thinking about using the Auto Update Cart For WooCommerce plugin https://woocommerce.com/products/auto-update-cart-for-woocommerce .

    Now here’s my question, is this Autoship option compatible with the Auto Update Cart For WooCommerce plugin? If not, can you give me any idea on how we can achieve this with autoship?

    I don’t know who should I ask exactly so I’ll be asking both plugin support – Autoship and Auto Update Cart.

    Hoping for your positive response. Thank you.

Viewing 1 replies (of 1 total)
  • Autoship devs have a code and snippet for that, we use it in our site. As it to the header.

    <script>
    jQuery( function ($) {
    
    $(document).on( 'change' , '.woocommerce-cart-form .autoship-type input[type=radio], .woocommerce-cart-form .autoship-frequency .autoship-frequency-select', function(e) {
    
    var $cartUpdateButton = $( '.woocommerce-cart-form :input[name="update_cart"]' );
    
    if ( typeof $cartUpdateButton !== 'undefined' ){
    $cartUpdateButton.prop( 'disabled', false ).attr( 'aria-disabled', false );
    $cartUpdateButton.trigger('click');
    }
    	
    });
    
    });
    </script>
Viewing 1 replies (of 1 total)
  • The topic ‘Autoupdate Cart’ is closed to new replies.