Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi Mahesh,

    I’m a bit confused about the question. It doesn’t really seem related to the WAFS plugin in any way?

    Can you please elaborate?

    Thank you.

    Jeroen Sormani

    PS. This should work; http://docs.woothemes.com/wc-apidocs/source-class-WC_Customer.html#279-286

    Thread Starter Mahesh Waghmare

    (@mahesh901122)

    I set different shipping methods as per state based with your conditional state wise.

    E.g.

    1. For Texas – $34.63
    2. For Utah – $14.47
    etc.

    So, I have a shipping state dropdown on checkout page. I make a AJAX call on state select dropdown. Which retrieve me the current selected state. So, How can I get the shipping cost of from WAFS e.g. $34.63 for Texas or $14.47 for Utah etc.

    Aim, Is to show selected state shipping cost on checkout page via AJAX call.

    Or these is any shortcode to pass state and get available shippings for that state.

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Mahesh,

    Thank you for your reply, but there are still some things that I don’t get..
    So these are the things that I don’t get:

    1) This specific plugin, WAFS, doesn’t allow you to setup costs per state (or any at all)
    2) WC itself is making AJAX calls to display the appropiate shipping rates at the checkout
    3) The (free) shipping rate of WAFS is automatically registered/loaded by WooCommerce, you shouldn’t have to get them manually
    4) The state is passed through the same way as I linked above.

    Is there maybe a mixup of plugins?

    Thanks,
    Jeroen

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to get shipping charges from selected state via AJAX’ is closed to new replies.