Home Forums Plugins CURCY – WooCommerce Multi Currency Block Checkout: currency_prefix empty on non-default language page with Polylang

Block Checkout: currency_prefix empty on non-default language page with Polylang

  • Author
    Posts
  • #256177

    HOCHUN LAU
    Participant

    Setup:
    – WooCommerce Block Checkout
    – CURCY Multi Currency
    – Polylang

    Issue:
    On the English version of the checkout page (/en/checkout/),
    the currency symbol/prefix is empty in the rendered HTML.

    The REST API (/wc/store/v1/cart) returns correct currency data
    after page load, but the server-side rendered HTML contains
    empty currency_prefix, causing React to hydrate with no symbol.

    The Chinese version works correctly because it matches the
    default currency. Any non-default language page fails.

    Workaround needed:
    CURCY needs to initialize the correct currency during
    server-side block rendering, not just via REST API.

    Please advise if there is an official fix or setting for
    Block Checkout Polylang compatibility.

You must be logged in to see replies to this topic. Click here to login or register