.

New Product - Coming Soon
var preOrder = <%= product.preOrder %>; if(preOrder) { document.getElementById("outOfStockMessage").innerHTML = "Pre-Order In-Store"; document.getElementById("preOrderBadge").style.display = "inline-block"; }
<%= console.log(product) %>
.
IN-STOCK BUY NOW!
var inStore = '<%= product.outOfStockMsg %>'; if(inStore.length == 0) { document.getElementById("instockMes").style.display = "block"; }
var catName = '<%= product.category[1].name %>'; var catA = 'Digital Cameras'; var catB = 'Lenses - SLR & Compact System'; if(catName == catA) { $("#freeHat").show(); } else if(catName == catB) { $("#freeMug").show(); }
Free MugFree Hat
var inStore = '<%= product.inStoreOnly %>'; if( inStore == 'true') { document.getElementById("inStoreText").style.display = "block"; document.getElementById("instockMes").style.display = "none"; }
This product is sold in-store only

var id = '<%= product.id %>'; if (id == "016b47c0-eca5-0139-5994-00163ecd2826") { $("#timer").css("display", "inline-block"); }
.
Add to Cart
Rent this
var tagExists = document.querySelector(".d-product-tags-element"); if(tagExists) { if(tagExists.innerHTML == "Rentals") { tagExists.style.display = "none"; document.getElementById("renting").style.display = "inline-block"; } }
<% var categoryName = ''; if(product) { var category = product.category ? product.category.find(function(c){ return c.parentId }) : null; categoryName = category ? category.name : ''; } if(categoryName.match(/^(Digital Cameras|Lenses - SLR & Compact System)$/)) { %> <% } %>
Warranty Logo
.
Click to purchase
var warranties = <%= product.finalPrice %>; if (warranties < 250) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $250 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-250-warranty/c709185e-c82d-44b4-84b8-e46d70dd930d?variation=3423159"); } else if(warranties < 500) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $500 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-500-warranty/5e479cf9-2f65-4239-b410-c499ba08e55e?variation=3423165"); } else if(warranties < 750) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $750 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-750-warranty/991a8d36-1c4b-4a50-9572-94aec313b96b?variation=3423171"); } else if(warranties < 1000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $1,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-1000-warranty/409094e1-7fec-4c6a-a148-3cf4aae1c805?variation=3423144"); } else if(warranties < 1500) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $1,500 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-1500-warranty/fd68cb13-fe13-4384-936c-c3c5d0b4f4a9?variation=3423147"); } else if(warranties < 2000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $2,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-2000-warranty/7e5e05b9-c0fb-421e-9ff0-bb13a43cf39b?variation=3423153"); } else if(warranties < 2500) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $2,500 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-2500-warranty/cdfaeb4c-a0d7-4f92-8992-729f5119c923?variation=3423156"); } else if(warranties < 3000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $3,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-3000-warranty/11df3077-5530-4b05-b81d-4093141bc0ad?variation=3423162"); } else if(warranties < 4000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $4,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-4000-warranty/e0796de0-a85e-4697-91f6-13371e8fb334?variation=3423174"); } else if(warranties < 5000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $5,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-5000-warranty/e1f733d2-58e0-4444-89fa-9810ef965bc8?variation=3423177"); } else if(warranties < 6000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $6,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-6000-warranty/cba58a9d-f59a-4db7-9b2c-5f5c2b12b40c?variation=3423168"); } else if(warranties < 7500) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $7,500 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-7500-warranty/7e760a60-bc63-012e-877c-20cf30bab63e?variation=3423186"); } else if(warranties < 10000) { $("#warrantyText").text("Mack 3 Year Diamond Coverage Under $10,000 Warranty"); $("#warrantyLinkBox").attr("href", "../mack-3-year-diamond-coverage-under-10000-warranty/2da57a6c-1bda-4e6d-866e-32150a1ca34f?variation=3423150"); } else if(warranties >= 10000) { $(".warrantyDiv").hide(); }
<% var categoryName = ''; if(product) { var category = product.category ? product.category.find(function(c){ return c.parentId }) : null; categoryName = category ? category.name : ''; } if(categoryName.match(/^(Digital Cameras|Lenses - SLR & Compact System)$/)) { %> Let's Make A Deal! <% } %>
MPC:
SKU:
<% var categoryName = ''; var brand = product.brand; if(product) { var category = product.category ? product.category.find(function(c){ return c.parentId }) : null; categoryName = category ? category.name : ''; } if(brand == 'Kodak') { %> <% } if(categoryName.match(/^(Memory Cards, Tape and Discs)$/)) { %> <% } %>