WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
updated_checkout and shipping method (1 post)

  1. Nagase
    Member
    Posted 1 year ago #

    Hi,

    I want to make a relay shipping method plugin for woocommerce , i do it but i
    modify woocommerce source code and i don't like this.
    My issue is when we choose shipping method, i can't handle end of ajax loading. I find many hook but i don't find my solution.

    actualy my trash code is here : woocommerce/asset/js/frontend/checkout.js ~l.70

    after this :

    xhr = $.ajax({
    type: 'POST',
    url: woocommerce_params.ajax_url,
    data: data,
    success: function( response ) {
    if ( response ) {
    var order_output = $(response);
    $('#order_review').html(order_output.html());
    $('body').trigger('updated_checkout');

    it work perfectly but i don't like that and i want hook that success in my plugin can you explain me?

    Sorry for my bad english.
    thank you in advance.

    http://wordpress.org/extend/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic