added direct to cart page. fixed bug in product details page. added qty valid.
Cette révision appartient à :
Externe
+1
-1
@@ -14,7 +14,7 @@ function shuffleArray(array) {
|
||||
function getCurrencySymbol(value=0) {
|
||||
let type = 'INR'
|
||||
if (type) {
|
||||
const ans = new Intl.NumberFormat('en-US', { style: 'currency', currency: type }).format(value);;
|
||||
const ans = new Intl.NumberFormat('en-IN', { style: 'currency', currency: type }).format(value);;
|
||||
const res = ans.split(/(\D+)/);
|
||||
const currencySymbol = res[1];
|
||||
const amount = res.slice(2,res.length).join('')
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur