【Pre sale, shipped on December 5th】H6015 # Winter New Baseball Hat Outdoor Leisure Thickened Windproof Warm Velvet Baseball Hat Adjustable Size
${function() {
const variantData = data.variant || {"id":"92eedca4-1def-443f-a5ff-b6e3bf385879","product_id":"8884de1f-6667-47e2-b13d-ed79d9113097","title":"gray","weight_unit":"kg","inventory_quantity":17,"sku":"H6015# P100-gray-A0018042","barcode":"","position":1,"option1":"gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/07e5200ce31ac9e05923342baf0ecc94.jpg","path":"07e5200ce31ac9e05923342baf0ecc94.jpg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-december-5th-h6015-winter-new-baseball-hat-outdoor-leisure-thickened-windproof-warm-velvet-baseball-hat-adjustable-size?variant=92eedca4-1def-443f-a5ff-b6e3bf385879","available_quantity":17,"options":[{"name":"colour","value":"gray"}],"off_ratio":0,"flashsale_info":[],"sales":71};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"92eedca4-1def-443f-a5ff-b6e3bf385879","product_id":"8884de1f-6667-47e2-b13d-ed79d9113097","title":"gray","weight_unit":"kg","inventory_quantity":17,"sku":"H6015# P100-gray-A0018042","barcode":"","position":1,"option1":"gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/07e5200ce31ac9e05923342baf0ecc94.jpg","path":"07e5200ce31ac9e05923342baf0ecc94.jpg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-december-5th-h6015-winter-new-baseball-hat-outdoor-leisure-thickened-windproof-warm-velvet-baseball-hat-adjustable-size?variant=92eedca4-1def-443f-a5ff-b6e3bf385879","available_quantity":17,"options":[{"name":"colour","value":"gray"}],"off_ratio":0,"flashsale_info":[],"sales":71};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${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 `
`;
}()}