I agree with this, getting the currency symbol alone ($) is necessary for me when breaking down a 6 month subscription and displaying the monthly cost of it.
I agree with this, getting the currency symbol alone ($) is necessary for me when breaking down a 6 month subscription and displaying the monthly cost of it.
+1
We can get the currency code (e.g. EUR) from product.priceCurrencyCode
There’s no way to get the currency by itself but the price and introductoryPrice properties contain the currency symbol in the price, e.g. €3.99.
+1 To get the CurrencySymbol alone
product.currencySymbol
DC-26df0a wrote:
+1 To get the CurrencySymbol alone
product.currencySymbol
I agree with this, getting the currency symbol alone ($) is necessary for me when breaking down a 6 month subscription and displaying the monthly cost of it.
xStachelbaer wrote:
DC-26df0a wrote:
+1 To get the CurrencySymbol alone
product.currencySymbol
I agree with this, getting the currency symbol alone ($) is necessary for me when breaking down a 6 month subscription and displaying the monthly cost of it.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.