Halloween Devil Skull Mask
${function() {
const variantData = data.variant || {"id":"4055d5a0-c153-44c3-8164-397b7ae62e27","product_id":"16b7013c-eeed-4b2d-b7ac-ab933d71874a","title":"creamy-white-bone mask","weight_unit":"g","inventory_quantity":999,"sku":"1580391916305375233","barcode":"","position":1,"option1":"creamy-white","option2":"bone mask","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ddd6f75ec40f18cc90d5fac0f708159b.jpeg","path":"ddd6f75ec40f18cc90d5fac0f708159b.jpeg","width":1140,"height":1224,"alt":"Halloween Devil Skull Mask Techwear Shop","aspect_ratio":0.9313725490196079},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"300","compare_at_price":"37.95","price":"30.95","retail_price":"37.95","available":true,"url":"\/products\/halloween-devil-skull-mask?variant=4055d5a0-c153-44c3-8164-397b7ae62e27","available_quantity":999999999,"options":[{"name":"Color","value":"creamy-white"},{"name":"Size","value":"bone mask"}],"off_ratio":18,"flashsale_info":[],"sales":8};
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":"4055d5a0-c153-44c3-8164-397b7ae62e27","product_id":"16b7013c-eeed-4b2d-b7ac-ab933d71874a","title":"creamy-white-bone mask","weight_unit":"g","inventory_quantity":999,"sku":"1580391916305375233","barcode":"","position":1,"option1":"creamy-white","option2":"bone mask","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ddd6f75ec40f18cc90d5fac0f708159b.jpeg","path":"ddd6f75ec40f18cc90d5fac0f708159b.jpeg","width":1140,"height":1224,"alt":"Halloween Devil Skull Mask Techwear Shop","aspect_ratio":0.9313725490196079},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"300","compare_at_price":"37.95","price":"30.95","retail_price":"37.95","available":true,"url":"\/products\/halloween-devil-skull-mask?variant=4055d5a0-c153-44c3-8164-397b7ae62e27","available_quantity":999999999,"options":[{"name":"Color","value":"creamy-white"},{"name":"Size","value":"bone mask"}],"off_ratio":18,"flashsale_info":[],"sales":8};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}