• Resolved Singed

    (@singed)


    I use few currencies with Plugin Price Based on Country for WooCommerce and when you try switch different billing countries in checkout page (maded with blocks), prices reloads only on first change. Looks buggy, because in classic checkout page (maded with shortcode) it works good on every switch country.

    Maybe you can say name of function to manual reload data in checkout page? This $(document.body).trigger('update_checkout'); works with classic page.

    Also would be great add some loading animation to understand when data loading like in classic.

    • This topic was modified 1 month, 1 week ago by Singed.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mahfuzur Rahman(woo-hc)

    (@mahfuzurwp)

    Hi @singed,

    Thank you for reaching out!

    It looks like the Price Based on Country for WooCommerce plugin might not be fully compatible with the block-based checkout page. Since the issue doesn’t occur with the classic shortcode-based checkout, this suggests a possible compatibility limitation.

    I recommend reaching out to the plugin developers to confirm whether the plugin fully supports WooCommerce Blocks and if there’s a workaround available. In the meantime, using the classic checkout page might be the best option if switching countries needs to update prices consistently.

    Thank you.

    Hi @mahfuzurwp

    Price Based on Country for WooCommerce is fully compatible with the cart and checkout blocks. The issue here is that the checkout block does not refresh the order review and shipping cost until the user enters the complete address. This means the user has to enter the country, city, address, and zip code for the checkout to launch the “cart/update-customer” REST API and refresh the “order review.”

    The user requests that the checkout block update the order review when the user changes the country field (without waiting for the address to be completed), just as it does in the classic checkout.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the details!

    I understand that you’d like the Checkout Block to update the order review (cart totals and shipping costs) as soon as the country field is selected, similar to the behavior in the classic checkout. Currently, the Checkout Block triggers the cart/update-customer REST API only after the user completes the full address (country, city, address, and zip code).

    I can see how refreshing the order review right after the country is selected would enhance the user experience. While this isn’t the default behavior at the moment with block checkout, I recommend suggesting this feature to the WooCommerce Blocks GitHub repository: https://github.com/woocommerce/woocommerce-blocks/issues.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.