-
Ruby And Emerald Chand...
Regular price Rs. 97,650Regular priceUnit price perRuby -->Ruby Chand Baaliya
Regular price Rs. 64,000Regular priceUnit price perRuby Chand BaaliyaEmerald Stone Earrings With...
Regular price Rs. 78,000Regular priceUnit price perEmerald Stone Earrings With -->Red Stone Chand Jhumke...
Regular price Rs. 99,000Regular priceUnit price perRed Stone Chand Jhumke -->Navratan Jhumke
Regular price Rs. 92,000Regular priceUnit price perNavratan Jhumke{ let words = titleElement.textContent.trim().split(/\s+/); // Trim and split by whitespace if (words.length > 0) { words = words.map((word, index) => { // Skip processing for the first word if (index === 0) { return word; // First word remains unchanged } else { // Process words from the second position onwards return excludeWords.includes(word.toLowerCase()) ? word.toLowerCase() : capitalize(word); } }); titleElement.textContent = words.join(" "); } }); function capitalize(word) { return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); } }); // function updatePrices() { // document.querySelectorAll(".money").forEach(function (element) { // let priceText = element.getAttribute("data-currency-inr"); // Get price from attribute // if (priceText !== null) { // Ensure the attribute exists // let price = parseInt(priceText.replace(/[^0-9]/g, ""), 10); // Extract numeric value // if (!isNaN(price) && price > 700000) { // element.textContent = "Price on Request"; // } // } // }); // } // // Run the function when the DOM is ready // document.addEventListener("DOMContentLoaded", function () { // setTimeout(updatePrices, 200); // Small delay to ensure elements are available // }); // // If content is dynamically loaded, use a MutationObserver // var observer = new MutationObserver(updatePrices); // observer.observe(document.body, { childList: true, subtree: true });- Choosing a selection results in a full page refresh.