• Hiya! The js file path of your plugin is wrong.

    Replace line 53 :

    wp_enqueue_script('ngm-wc-codpf', plugins_url() . '/ngm-wc-codpf/assets/js/ngm-wc-codpf.js', array('wc-checkout'), false, true);

    With the following :

    wp_enqueue_script('ngm-wc-codpf', plugins_url() . '/woo-cod-plus-fee/assets/js/ngm-wc-codpf.js', array('wc-checkout'), false, true);

    • This topic was modified 6 years, 9 months ago by Ali Ozinan.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You’re the best!!!

    Hey, Can you help me how to change the path?

    Currently added manually following code in Custom CSS/JS panel and its 100% works.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix’ is closed to new replies.