Celestron – Nature DX 10x56 Binoculars – Outdoor and Birding Binocular – Fully Multi-coated with BaK-4 Prisms – Rubber Armored – Fog & Waterproof Binoculars – Top Pick Optics
${function() {
const variantData = data.variant || {"id":"3e64c557-3a00-4a8c-aa08-6d2bc33f4838","product_id":"53388f60-1bd7-489e-adc2-86218108632a","title":"Nature DX 10x56","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838683185","barcode":"","position":1,"option1":"Nature DX 10x56","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69b9a4f7df61eceebf48736df588d086.jpeg","path":"69b9a4f7df61eceebf48736df588d086.jpeg","width":924,"height":570,"alt":"","aspect_ratio":1.6210526315789473},"wholesale_price":[{"price":9.97,"min_quantity":1}],"weight":"0","compare_at_price":"259.95","price":"9.97","retail_price":"259.95","available":true,"url":"\/products\/celestron-nature-dx-10x56-binoculars-outdoor-and-birding-binocular-fully-multi-coated-with-bak-4-prisms-rubber-armored-fog-waterproof-binoculars-top-pick-optics_b6af6d19?variant=3e64c557-3a00-4a8c-aa08-6d2bc33f4838","available_quantity":1000,"options":[{"name":"style","value":"Nature DX 10x56"}],"off_ratio":96,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
Style:
Nature DX 10x56
${function(){
const optName = "style";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$9.97
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"3e64c557-3a00-4a8c-aa08-6d2bc33f4838","product_id":"53388f60-1bd7-489e-adc2-86218108632a","title":"Nature DX 10x56","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838683185","barcode":"","position":1,"option1":"Nature DX 10x56","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69b9a4f7df61eceebf48736df588d086.jpeg","path":"69b9a4f7df61eceebf48736df588d086.jpeg","width":924,"height":570,"alt":"","aspect_ratio":1.6210526315789473},"wholesale_price":[{"price":9.97,"min_quantity":1}],"weight":"0","compare_at_price":"259.95","price":"9.97","retail_price":"259.95","available":true,"url":"\/products\/celestron-nature-dx-10x56-binoculars-outdoor-and-birding-binocular-fully-multi-coated-with-bak-4-prisms-rubber-armored-fog-waterproof-binoculars-top-pick-optics_b6af6d19?variant=3e64c557-3a00-4a8c-aa08-6d2bc33f4838","available_quantity":1000,"options":[{"name":"style","value":"Nature DX 10x56"}],"off_ratio":96,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"3e64c557-3a00-4a8c-aa08-6d2bc33f4838","product_id":"53388f60-1bd7-489e-adc2-86218108632a","title":"Nature DX 10x56","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838683185","barcode":"","position":1,"option1":"Nature DX 10x56","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69b9a4f7df61eceebf48736df588d086.jpeg","path":"69b9a4f7df61eceebf48736df588d086.jpeg","width":924,"height":570,"alt":"","aspect_ratio":1.6210526315789473},"wholesale_price":[{"price":9.97,"min_quantity":1}],"weight":"0","compare_at_price":"259.95","price":"9.97","retail_price":"259.95","available":true,"url":"\/products\/celestron-nature-dx-10x56-binoculars-outdoor-and-birding-binocular-fully-multi-coated-with-bak-4-prisms-rubber-armored-fog-waterproof-binoculars-top-pick-optics_b6af6d19?variant=3e64c557-3a00-4a8c-aa08-6d2bc33f4838","available_quantity":1000,"options":[{"name":"style","value":"Nature DX 10x56"}],"off_ratio":96,"flashsale_info":[],"sales":0};
return `
`
}()}