Shopify/money

Currency formatting issue on Billing > Overview > Bills

winterweix opened this issue · 0 comments

The What

On the Billing > Overview > Bills page:

  • If the same as store currency, use short format for all;
  • If non-store currency, use explicit format for all (treating each amount as a total amount)

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 > Overview > Billis 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