Dog leash rope 1.2 meters
${function() {
const variantData = data.variant || {"id":"a2404073-caa1-4719-8f20-bf80c6731567","product_id":"1b62c7e3-89b7-4b40-a854-5d9a9703f966","title":"1.2 meters [The collar needs to be purchased separately, and it is available in the store]-lake blue","weight_unit":"kg","inventory_quantity":4,"sku":"4974388389632","barcode":"","position":4,"option1":"1.2 meters [The collar needs to be purchased separately, and it is available in the store]","option2":"lake blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/628e70f569e75ced841c784d666871a6.jpeg","path":"628e70f569e75ced841c784d666871a6.jpeg","width":700,"height":524,"alt":"","aspect_ratio":1.3358778625954197},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.99","price":"20.99","retail_price":"30.99","available":true,"url":"\/products\/dog-leash-rope-1-2-meters?variant=a2404073-caa1-4719-8f20-bf80c6731567","available_quantity":4,"options":[{"name":"Size","value":"1.2 meters [The collar needs to be purchased separately, and it is available in the store]"},{"name":"Color ","value":"lake blue"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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 `
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a2404073-caa1-4719-8f20-bf80c6731567","product_id":"1b62c7e3-89b7-4b40-a854-5d9a9703f966","title":"1.2 meters [The collar needs to be purchased separately, and it is available in the store]-lake blue","weight_unit":"kg","inventory_quantity":4,"sku":"4974388389632","barcode":"","position":4,"option1":"1.2 meters [The collar needs to be purchased separately, and it is available in the store]","option2":"lake blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/628e70f569e75ced841c784d666871a6.jpeg","path":"628e70f569e75ced841c784d666871a6.jpeg","width":700,"height":524,"alt":"","aspect_ratio":1.3358778625954197},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.99","price":"20.99","retail_price":"30.99","available":true,"url":"\/products\/dog-leash-rope-1-2-meters?variant=a2404073-caa1-4719-8f20-bf80c6731567","available_quantity":4,"options":[{"name":"Size","value":"1.2 meters [The collar needs to be purchased separately, and it is available in the store]"},{"name":"Color ","value":"lake blue"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('7');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}