New - Shop Product

PRODUCT DETAILS

MPN#
SKU#
Trust Guard Security Scanned
Add to cart
// Get variables // Get variables var prodPrice = <%= product.price %>; var prodCat = "<%= product.category[1].name %>"; var prodBrand = "<%= product.brand %>"; var prodSlug = "<%= product.slug %>"; var isCanonM = prodSlug.indexOf("eos-m") > -1; var isCanonR = prodSlug.indexOf("eos-r") > -1; // Run script for filtered categories // Promaster/Mack Warranties if(prodBrand === "Canon") { document.getElementById("warranty-logo-img").src = "https://lirp.cdn-website.com/8e44ae45/dms3rep/multi/opt/carePAK-Logo-1920w.png"; document.getElementById("warranty-text").innerHTML = "Canon CarePAK PLUS Warranty provides enhanced protection."; if((prodCat == "Digital Cameras")) { if((isCanonM) || (isCanonR)) { warranty2ListCanon = warranty2ListCanonR; warranty3ListCanon = warranty3ListCanonR; warranty4ListCanon = warranty4ListCanonR; } } else if(prodCat == "Lenses - SLR & Compact System") { warranty2ListCanon = warranty2ListCanonLens; warranty3ListCanon = warranty3ListCanonLens; warranty4ListCanon = warranty4ListCanonLens; } // Parse all entries for (var x of warranty2ListCanon) { if(x[0] > prodPrice) { my2Warranty(x[1][0], x[1][1]); break; } } for (var x of warranty3ListCanon) { if(x[0] > prodPrice) { my3Warranty(x[1][0], x[1][1]); break; } } for (var x of warranty4ListCanon) { if(x[0] > prodPrice) { my4Warranty(x[1][0], x[1][1]); break; } } } // Update info in widget function my2Warranty(link, price) { document.getElementById("warranty2Link").href = link; document.getElementById("war2Price").innerHTML = price; document.getElementById("warranty").style.display = 'block'; document.getElementById("warranty2Link").style.display = 'block'; } function my3Warranty(link, price) { document.getElementById("warranty3Link").href = link; document.getElementById("war3Price").innerHTML = price; document.getElementById("warranty").style.display = 'block'; document.getElementById("warranty3Link").style.display = 'block'; } function my4Warranty(link, price) { document.getElementById("warranty4Link").href = link; document.getElementById("war4Price").innerHTML = price; document.getElementById("warranty").style.display = 'block'; document.getElementById("warranty4Link").style.display = 'block'; }

Description

Specifications

Accessories

Reviews

Questions & Answers

if ($("video" ).length ) { var videoCode = $("video").text(); if ($("#flag").attr("data-vidflag") == "on") { var vidLink = "https://www.youtube.com/embed/" + videoCode; $(".product-video").show(); $("#customVideo").attr("src", vidLink); $("#flag").attr("data-vidflag", "off"); $("#customVideo").appendTo(".dakis-product-videos"); } } else { console.log("Didn't work!"); }
Share by: