Cameras & Gear Products
 MPN# 
  
 SKU# 
  
 
 Temporarily out of stock or backordered.
 
 Please call 251-478-0487 
for availability or to join the waitlist, to be alerted when one is available for sale.
 
// Check if the store status value
var prodAvail = '<%= product.stockStatus %>';
if(prodAvail === 'OUT_OF_STOCK_AND_ORDER_NOT_ALLOWED') {
	document.getElementById('outStock').style.display = 'block'
};
<%= console.log(product) %>
 
Financing available →
Price match for the best price!
Our warranty ensures we won't be beat on price.
var prodName = '<%= product.name %>';
    var prodUrl = '<%= url %>';
    console.log(prodName);
    console.log(prodUrl);
    function myTime() {
        document.getElementById('prodUrl').value = prodUrl;
        document.getElementById('prodName').value = prodName;
        console.log('Good!');
        }
 
   
 PRICE MATCH 
 
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';
    }
 
  



