Realme P1 Speed (12+256GB)

 

<script>
// Your product database - Update prices here weekly
const priceDatabase = {
  'B0DGQLS3RW': '₹22,999',  // LAVA AGNI 3
  // Add more ASINs and prices here
};

// This runs when page loads
document.addEventListener('DOMContentLoaded', function() {
  // Find all Amazon links
  document.querySelectorAll('a[href*="amazon.in/dp/"]').forEach(function(link) {
    // Extract ASIN
    const asin = link.href.match(/\/dp\/([A-Z0-9]{10})/)?.[1];
    
    if (asin && priceDatabase[asin]) {
      // Find price element (adjust selector for your theme)
      const priceElement = link.parentElement.querySelector('.price, [class*="price"]');
      
      if (priceElement) {
        priceElement.textContent = priceDatabase[asin];
      }
    }
  });
});
</script>

Post a Comment

Previous Next

نموذج الاتصال