• i have to implement something for woocommerce where if user change the payment method in the checkout page the total calculation of products in card refresh.I made this in a previous version of woocommerce and tha time it worked but after updating woocommerce to the leatest version it doesn’t work.

    this was the code to refresh the calculation in woocommerce previous version.

    jQuery( function($){
    $(‘form.checkout’).on(‘change’, ‘input[name=payment_method]’, function(){
    $(document.body).trigger(‘update_checkout’);
    })
    } )

    i also tried

    $(‘form.wc-block-checkout__form’).on(‘change’, ‘input[name=radio-control-wc-payment-method-options]’, function(){
    $(document.body).trigger(‘update_checkout’);
    })

Viewing 1 replies (of 1 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I understand your concern. Please note that we only provide support for WooCommerce core features. Support related to customizations is outside the scope of our support.

    If you need more in-depth support or want to consider professional assistance for customization, I can recommend?WooExperts?and?Codeable.io?as options for getting professional help. Alternatively, you can also ask your development questions in the??WooCommerce Community Slack?.

    Thank you for your cooperation and understanding.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.