currency object is returning the wrong symbol

DaviAreias
Shopify Partner
39 0 6

I have a client from Egypt using our app, and every possible currency object that Shopify provides returns the "ج.م" currency symbol, however Shopify always format prices using the "LE" symbol.

 

I have tested the following objects:

 

{{cart.currency.symbol}}

{{localization.country.currency.symbol}}

 

I'm currently getting the first symbol using, this solution, however this is too verbose and I think Shopify should create a better solution:

 

 

 

var currencySymbol = "{{ shop.money_format | strip_html | split: '{{' | first }}"

 

 

Replies 0 (0)