101% Original
Lowest Price
Free Shipping
Regular price ₹ 1,050 Sale price₹ 899(incl. of all taxes.)
Save 14%
(incl. of all taxes.)
Hurry, Few Left!
Hurry, Few Left!
Hurry, Few Left!
Get it By *
Available offers
Best-value offer
Instant savings worth ₹ 151.
₹10 off on prepaid orders
Auto applied at checkout.
Get free shipping
Auto-applied at checkout.
Paylater at checkout
Instant EMI | No credit card
${message}
`; } localStorage.setItem('userPincode', pincode); document.getElementById('deliveryInfo').innerHTML = message; document.querySelector(".delivery-message").style.display = ""; document.querySelectorAll(".toDate").forEach(function(dateElement) { dateElement.innerHTML = todayDate; }); document.querySelector('.rightpoint_div').style.display = ''; document.querySelector('.sticky-right-column').style.display = ''; } else { console.log("ELSEsameDayCutOffHour",sameDayCutOffHour) let tomorrow = new Date(now.getTime() + 24 * 60 * 60 * 1000); if (msgType === 'pickndel') { updateMessageWithDate(tomorrow, pincode,sameDayCutOffPicknHour, sameDayCutOffPicknMin); } else { updateMessageWithDate(tomorrow, pincode,sameDayCutOffHour, sameDayCutOffMin); } } } function handleGlobalPincode(pincode) { let found = false; let setLocalstorage = false;const now = new Date();let cutoffTime = new Date();// Set the cutoff time cutoffTime = new Date(now.getFullYear(), now.getMonth(), now.getDate(), shippingCutoffTimeHour, shippingCutoffTimeMin, 0);var cutoffTimeBigger=true;// If the current time is past the cutoff time, move the cutoff to tomorrowif (now > cutoffTime) { cutoffTimeBigger=false; cutoffTime.setDate(cutoffTime.getDate() + 1); // Move to the next day}// Calculate the difference in millisecondsconst diffInMs = cutoffTime - now;//console.log( cutoffTimeBigger,now, "cutoffTime", cutoffTime);// Convert milliseconds to hours and minutesconst diffInMinutes = Math.floor(diffInMs / (1000 * 60)); // Total minutesconst hours = Math.floor(diffInMinutes / 60); // Get whole hoursconst minutes = diffInMinutes % 60; // Remaining minutes// Format the time differencelet timeDifference;if (hours > 0) { if(minutes >0) { timeDifference = `${hours} hrs ${minutes} mins`; } else { timeDifference = `${hours} hrs`; }} else { timeDifference = `${minutes} mins`;}//console.log("handleGlobalPincode",timeDifference); for (let entry of allPincode) { let [entryPincode, days] = entry.split('-'); if (entryPincode === pincode) { if (days == 0) { message = `The Pincode is unserviceable`; found = true; document.querySelector('.rightpoint_div').style.display = 'none'; document.querySelector('.sticky-right-column').style.display = 'none'; break; } let targetDate = new Date(); let additionalDays = now > cutoffTime ? 1 : 0; if (days > 3 && additionalDays == 0) { days = 4; } if (days > 3 && additionalDays == 1) { days = 3; } targetDate.setDate(targetDate.getDate() + parseInt(days) + additionalDays); let combineDays = parseInt(days) + parseInt(additionalDays); let formattedEndDate = targetDate.toLocaleDateString('en-US', { month: 'long', day: 'numeric' }); let formattedEndDateNew = targetDate.toLocaleDateString('en-US', { weekday: 'long', month: 'long', day: 'numeric' }); if (!cutoffTimeBigger) { if (combineDays == 1) { message = `⚡Get it By Tomorrow, ${formattedEndDate}*`; } else { message = `Get it by ${formattedEndDateNew}*`; } } else { if (combineDays == 1) { message = `⚡Order within [timer] to get it By Tomorrow, ${formattedEndDate}*`; message = message.replace('[timer]',``+timeDifference+``); } else { message = `Order within [timer] to get it by ${formattedEndDateNew}*`; message = message.replace('[timer]',``+timeDifference+``); } } const hasIcon = message.includes('⚡'); if (hasIcon) { message = `${message}
`; } else { message = `${message}
`; } found = true; setLocalstorage = true; document.querySelectorAll(".getItBydate .toDate").forEach(function(dateElement) { dateElement.innerHTML = formattedEndDate; }); break; } } if (!found) { message = "Please enter a valid pincode"; } if (setLocalstorage) { document.querySelector('.rightpoint_div').style.display = ''; document.querySelector('.sticky-right-column').style.display = ''; localStorage.setItem('userPincode', pincode); } document.getElementById('deliveryInfo').innerHTML = message; document.querySelector(".delivery-message").style.display = ""; } function updateMessageWithDate(date, pincode,sameDayCutOffHour, sameDayCutOffMin) { let formattedDate = date.toLocaleDateString('en-US', { month: 'short', day: 'numeric' });const now = new Date();let cutoffTime = new Date();// Set the cutoff time// cutoffTime = new Date(now.getFullYear(), now.getMonth(), now.getDate(), shippingCutoffTimeHour, shippingCutoffTimeMin, 0);cutoffTime.setHours(sameDayCutOffHour, sameDayCutOffMin, 0);// If the current time is past the cutoff time, move the cutoff to tomorrowif (now > cutoffTime) { cutoffTime.setDate(cutoffTime.getDate() + 1); // Move to the next day} console.log( now, "updateMessageWithDatecutoffTime", cutoffTime);//console.log(msgType, now, "cutoffTime", cutoffTime);// Calculate the difference in millisecondsconst diffInMs = cutoffTime - now;// Convert milliseconds to hours and minutesconst diffInMinutes = Math.floor(diffInMs / (1000 * 60)); // Total minutesconst hours = Math.floor(diffInMinutes / 60); // Get whole hoursconst minutes = diffInMinutes % 60; // Remaining minutes// Format the time differencelet timeDifference;if (hours > 0) { if(minutes >0) { timeDifference = `${hours} hrs ${minutes} mins`; } else { timeDifference = `${hours} hrs`; }} else { timeDifference = `${minutes} mins`;}console.log(timeDifference); message = `⚡Get it By Tomorrow, ${formattedDate}*`; message = message.replace('[timer]',``+timeDifference+``); const hasIcon = message.includes('⚡'); if (hasIcon) { message = `${message}
`; } else { message = `${message}
`; } localStorage.setItem('userPincode', pincode); document.getElementById('deliveryInfo').innerHTML = message; document.querySelector(".delivery-message").style.display = ""; document.querySelectorAll(".toDate").forEach(function(dateElement) { dateElement.innerHTML = formattedDate; }); document.querySelector('.rightpoint_div').style.display = ''; document.querySelector('.sticky-right-column').style.display = ''; } let userPincode = localStorage.getItem('userPincode'); if (userPincode) { document.getElementById('pincode').value = userPincode; checkPincode(userPincode); }});