How to get currency symbol
Description
This can be done using the currencyHelper function. This function will return the currency symbol based on the currency code.
Syntax
currencyHelper(Price, currencyCode);
Price can be float/Int and currency code is string ( eg: 'INR' )
Example
import { currencyHelper } from "@appmaker-xyz/shopify";
const currencyCode = "INR";
const Price = 100;
const PriceWithCurrency = currencyHelper(Price, currencyCode); // ₹100