added direct to cart page. fixed bug in product details page. added qty valid.

Cette révision appartient à :
2023-04-25 14:20:22 +05:30
Parent 7823781020
révision e922bb6b35
11 fichiers modifiés avec 210 ajouts et 50 suppressions
+1 -1
Voir le fichier
@@ -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('')