MPN#
SKU#
Add to cart
document.querySelectorAll('.dakis-product-out-of-stock')[0].style.display = 'none'; // Check if the 'preOrder' value is true var isPreOrder = '<%= product.preOrder %>'; var preOrderDate = '<%= product.preOrderDate %>'; var preOrderMessage = 'No cost to pre-order' + '
' + 'Available on ' + preOrderDate; var prodName = '<%= product.name %>'; if(isPreOrder.length > 1) { document.querySelectorAll(".d-product-price-pre-order-available-container")[0].style.cssText = 'display:none !important'; document.getElementById("1948683017").innerHTML = preOrderMessage; document.getElementById("1254085945").style.display = 'block'; document.querySelectorAll('.dakis-product-out-of-stock')[0].style.display = 'block'; }; function myTime() { document.getElementById('prodName').value = prodName; };
// Get variables var prodManage = <%= product.quantity.quantityManagement %>; var prodQty = <%= product.quantity.total %>; if(prodManage) { if(prodQty > 0) { document.querySelectorAll('.dakis-product-out-of-stock')[0].innerHTML = "We currently have " + prodQty + " in stock."; document.querySelectorAll('.dakis-product-out-of-stock')[0].style.color = "#d20024"; document.querySelectorAll('.dakis-product-out-of-stock')[0].style.display = "block"; }; };
<% console.log(product) %>
Trust Guard Security Scanned

Financing available →

Trust Guard Security Scanned
Protect Your Gear - Add Extended Warranty
Mack Diamond Warranty provides enhanced protection.
Extended Warranty – 3 year
Price: $49.99
Extended Warranty – 5 year
Price: $99.99
// Get variables var prodPrice = <%= product.finalPrice %>; var prodCat = "<%= product.category[1].name %>"; // Run script for filtered categories if(prodCat == "Digital Cameras" || prodCat == "Lenses - SLR & Compact System") { // Parse all entries for (var x of warranty3List) { if(x[0] > prodPrice) { my3Warranty(x[1][0], x[1][1]); break; } } for (var x of warranty5List) { if(x[0] > prodPrice) { my5Warranty(x[1][0], x[1][1]); break; } } } // Update info in widget function my3Warranty(link, price) { document.getElementById("warranty3Link").href = link; document.getElementById("war3Price").innerHTML = price; document.getElementById("warranty3Box").style.display = 'block'; document.getElementById("warranty").style.display = 'block'; } function my5Warranty(link, price) { document.getElementById("warranty5Link").href = link; document.getElementById("war5Price").innerHTML = price; document.getElementById("warranty5Box").style.display = 'block'; document.getElementById("warranty").style.display = 'block'; }

Description

Specifications

Accessories

Reviews

Questions & Answers

Share by: