Skip to main content
Question

How to get the currency symbol from a product?

  • 9 February 2023
  • 4 replies
  • 1527 views

Forum|alt.badge.img+7

We can get the currency code (e.g. EUR) from  product.priceCurrencyCode

but how do we get the currency symbol (e.g. )?

4 replies

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • February 13, 2023

Hello,

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.


Forum|alt.badge.img+2
  • Helper
  • 4 replies
  • June 6, 2023

+1 To get the CurrencySymbol alone

product.currencySymbol

 

 


Forum|alt.badge.img+3
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. 


Forum|alt.badge.img+2
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. 

+1


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings