WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Auto-Refresh Checkout Page on Country change (5 posts)

  1. HaHaYouSuck
    Member
    Posted 11 months ago #

    Hi,
    I have shipping rates that vary by country. When a user changes country in the dropdown menu on the checkout page, I would like it to auto-refresh to show the revised amount for shipping. How can this be done?

    Thanks

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

  2. HaHaYouSuck
    Member
    Posted 11 months ago #

    I have learned that this is supposed to work with some js function "update totals on change" but for some reason it doesn't work.
    Anybody know why?

  3. HaHaYouSuck
    Member
    Posted 11 months ago #

    It is necessary to also update the state field, otherwise it doesn't work. I didn't see that before, and now it works.

  4. RedefineEverything
    Member
    Posted 1 month ago #

    did you ever get an answer to this? I'm suffering the same problem.

  5. HaHaYouSuck
    Member
    Posted 1 month ago #

    @RedefineEverything

    Yes, but not on the forums. I had suppressed a lot of the forms that I didn't want to see on the checkout page because they weren't really needed. However, I soon learned that Woo passes those forms to the calculator and if they are suppressed, surprise, surprise, it breaks and amounts don't refresh when a quantity or shipping destination is changed. I found that different countries have different required forms. I think USA has state and zip required, some others like Australia have a province selection which is mandatory.

    Good Luck!

Reply

You must log in to post.

About this Plugin

About this Topic