Pepeep Ceramic Dog Bowl Double Bowl
${function() {
const variantData = data.variant || {"id":"2691c470-cf06-4b2e-bda7-0aca97cb9c7b","product_id":"4d2bee6b-e1c7-40e6-9c2a-85452f64ff4f","title":"All cats & small and medium-sized dogs-Bright gray suit","weight_unit":"kg","inventory_quantity":9,"sku":"5665158398980","barcode":"","position":3,"option1":"All cats & small and medium-sized dogs","option2":"Bright gray suit","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3aecec477c3a41cda4b530851f8ccf4c.jpeg","path":"3aecec477c3a41cda4b530851f8ccf4c.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.8","price":"37.99","retail_price":"45.8","available":true,"url":"\/products\/pepeep-ceramic-dog-bowl-double-bowl?variant=2691c470-cf06-4b2e-bda7-0aca97cb9c7b","available_quantity":9,"options":[{"name":"Size","value":"All cats & small and medium-sized dogs"},{"name":"Color","value":"Bright gray suit"}],"off_ratio":17,"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":"2691c470-cf06-4b2e-bda7-0aca97cb9c7b","product_id":"4d2bee6b-e1c7-40e6-9c2a-85452f64ff4f","title":"All cats & small and medium-sized dogs-Bright gray suit","weight_unit":"kg","inventory_quantity":9,"sku":"5665158398980","barcode":"","position":3,"option1":"All cats & small and medium-sized dogs","option2":"Bright gray suit","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3aecec477c3a41cda4b530851f8ccf4c.jpeg","path":"3aecec477c3a41cda4b530851f8ccf4c.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.8","price":"37.99","retail_price":"45.8","available":true,"url":"\/products\/pepeep-ceramic-dog-bowl-double-bowl?variant=2691c470-cf06-4b2e-bda7-0aca97cb9c7b","available_quantity":9,"options":[{"name":"Size","value":"All cats & small and medium-sized dogs"},{"name":"Color","value":"Bright gray suit"}],"off_ratio":17,"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}
`;
}()}