New seamless integrated sunscreen mask hat with UV protection, high aesthetic value, eye protection, lightweight and breathable large brim
${function() {
const variantData = data.variant || {"id":"e80853c1-b56b-4200-ac5b-5d2251294268","product_id":"f9f3ca50-e736-42ac-a10a-ef80fdbc36c7","title":"[black]","weight_unit":"kg","inventory_quantity":200,"sku":"\u76db\u4f5115-[black]-A00112390","barcode":"","position":1,"option1":"[black]","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c63020f72873052cf7682768605bfca4.jpeg","path":"c63020f72873052cf7682768605bfca4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.5,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"9.5","retail_price":"0","available":true,"url":"\/products\/\u65b0\u6b3e\u65e0\u75d5\u4e00\u4f53\u9632\u6652\u53e3\u7f69\u5e3d\u5b50\u5973\u9632\u7d2b\u5916\u7ebf\u9ad8\u989c\u503c\u62a4\u773c\u89d2\u8f7b\u8584\u900f\u6c14\u5927\u5e3d\u6a90?variant=e80853c1-b56b-4200-ac5b-5d2251294268","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"[black]"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"e80853c1-b56b-4200-ac5b-5d2251294268","product_id":"f9f3ca50-e736-42ac-a10a-ef80fdbc36c7","title":"[black]","weight_unit":"kg","inventory_quantity":200,"sku":"\u76db\u4f5115-[black]-A00112390","barcode":"","position":1,"option1":"[black]","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c63020f72873052cf7682768605bfca4.jpeg","path":"c63020f72873052cf7682768605bfca4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.5,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"9.5","retail_price":"0","available":true,"url":"\/products\/\u65b0\u6b3e\u65e0\u75d5\u4e00\u4f53\u9632\u6652\u53e3\u7f69\u5e3d\u5b50\u5973\u9632\u7d2b\u5916\u7ebf\u9ad8\u989c\u503c\u62a4\u773c\u89d2\u8f7b\u8584\u900f\u6c14\u5927\u5e3d\u6a90?variant=e80853c1-b56b-4200-ac5b-5d2251294268","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"[black]"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}