Shopify/money

Currency formatting issue on Billing > Fee threshold

Closed this issue · 1 comments

The What

On the Billing > Fee threshold page:

  • If the same as store currency, use short format for all;
  • If non-store currency, use short format for non-total amount and explicit format for total amounts

Short format examples: $12.50, 12, 50 €
Explicit format examples: $12.50 CAD, 12, 50 € EUR

The Why

Recently we updated currency formatting guidelines in Polaris, and an audit through our platform resulted in us noticing a few spots where currency formatting could be unclear, especially in a multi-currency view. The suggested change would make the formatting on the Billing > Fee threshold information coherent with the formatting suggested in the Polaris guidelines.

The How

shopify_i18n now supports the new currency formatting in ruby and typescript.

cc @mateus @robinvankampen @cejaekl

Just want to see what the status of this is? @laurenmayers Thanks!