Creative magic turban outdoor skull print mask
${function() {
const variantData = data.variant || {"id":"2e40aa33-9a1d-4aab-8eac-12b2c834399c","product_id":"610fa2ba-02b7-484a-aee4-8bdacdffbc65","title":"Blue-One Size","weight_unit":"g","inventory_quantity":99999996,"sku":"101816550001","barcode":"","position":1,"option1":"Blue","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c01d147b711f899a2131d68e0ab86118.jpeg","path":"c01d147b711f899a2131d68e0ab86118.jpeg","width":727,"height":757,"alt":"","aspect_ratio":0.9603698811096433},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/creative-magic-turban-outdoor-skull-print-mask?variant=2e40aa33-9a1d-4aab-8eac-12b2c834399c","available_quantity":99999996,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":106};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 70;
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 `
`;
}()}
${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.