Quick Dry Bucket Hats for Men Women Outdoor Fisherman Sun Caps
${function() {
const variantData = data.variant || {"id":"ddeef12b-79b6-4e88-997d-80da6bfeb7d2","product_id":"9999d211-0597-42cd-b9f8-bfd85a8465c0","title":"white-1PC","weight_unit":"kg","inventory_quantity":0,"sku":"\u9ad8\u5c14\u4e50-30-white-1PC-A0013136","barcode":"","position":3,"option1":"white","option2":"1PC","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad922ccbc7d9a228130849a7f332271e.jpg","path":"ad922ccbc7d9a228130849a7f332271e.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.5","retail_price":"0","available":false,"url":"\/products\/quick-dry-bucket-hats-for-men-women-outdoor-fisherman-sun-caps?variant=ddeef12b-79b6-4e88-997d-80da6bfeb7d2","available_quantity":0,"options":[{"name":"color","value":"white"},{"name":"wholesale","value":"1PC"}],"off_ratio":0,"flashsale_info":[],"sales":69};
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}
`
}()}
${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":"ddeef12b-79b6-4e88-997d-80da6bfeb7d2","product_id":"9999d211-0597-42cd-b9f8-bfd85a8465c0","title":"white-1PC","weight_unit":"kg","inventory_quantity":0,"sku":"\u9ad8\u5c14\u4e50-30-white-1PC-A0013136","barcode":"","position":3,"option1":"white","option2":"1PC","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad922ccbc7d9a228130849a7f332271e.jpg","path":"ad922ccbc7d9a228130849a7f332271e.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.5","retail_price":"0","available":false,"url":"\/products\/quick-dry-bucket-hats-for-men-women-outdoor-fisherman-sun-caps?variant=ddeef12b-79b6-4e88-997d-80da6bfeb7d2","available_quantity":0,"options":[{"name":"color","value":"white"},{"name":"wholesale","value":"1PC"}],"off_ratio":0,"flashsale_info":[],"sales":69};
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 `
`;
}()}
Only 24 item(s) left in stock!