Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

currency object is returning the wrong symbol

currency object is returning the wrong symbol

ScalaApps
Shopify Partner
66 2 11

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 }}"

 

 

Scala Apps



- If you find my reply helpful, please hit Like and Mark as Solution

- Se você achar minha resposta útil, por favor clique em Curtir e Marcar como Solução

Parcelamento/Installments | Hide sold variants | Apps | Blog
Replies 0 (0)