• Resolved rfvdan

    (@royalflushvape)


    Firstly thanks for the amazing plugin.

    The problem is that I have different delivery methods based on postcode, with this plugin enabled the shipping method does not refresh to show the correct shipping methods available when the postcode is entered. Without the plugin enabled the postcode field has the class update_totals_on_change. Is this something that could be fixed in an update?

    Many Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter rfvdan

    (@royalflushvape)

    I have solved this quickly for now by moving my email field from the top to the bottom of the checkout which then refreshes the totals.

    Plugin Author gazchap

    (@gazchap)

    Hi rfvdan,

    Are you using a plugin for the delivery methods on different postcodes, or is that being done by native WooCommerce?

    My code should be respecting any classes that are already on the postcode fields when it does its modification, but that sounds like something’s not working with it.

    If you can let me know the plugin being used (if any) so that I can check out the behaviour, I should be able to sort it.

    Thanks,
    Gareth.

    Thread Starter rfvdan

    (@royalflushvape)

    Hi Gaz,

    Thanks for the quick reply.

    The postcode restricted zones are set with the native WooCommerce shipping. I think if you change the address after you have already entered a postcode and selected and address it updates the shipping methods, but it doesn’t trigger this if just selecting a shipping address for the first time. I moved the email field to the last position as this field isn’t part of the address and does update the shipping methods, it’s also set as required so it was an easy solution, although we would rather have it back at the top.

    Many Thanks.

    Plugin Author gazchap

    (@gazchap)

    Thanks, I’ll take a look – sounds like it would be relatively simple to fix ??

    Thread Starter rfvdan

    (@royalflushvape)

    Thanks Gareth, much appreciated! ??

    Plugin Author gazchap

    (@gazchap)

    Hi rfvdan,

    Would you be willing to test an updated version of the plugin for me? I think it’s sorted, but it’d be good to know for sure. If so, email me at my username at gmail.com and I’ll send a copy to you.

    Thanks,
    Gareth.

    Thread Starter rfvdan

    (@royalflushvape)

    Hi Gareth,

    Looks to be working perfectly now, thank you very much!

    Plugin Author gazchap

    (@gazchap)

    Thanks for being my guinea pig, Dan! The plugin is now updated on the repository also.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Update Totals’ is closed to new replies.