Casual Solid Color Hooded Long Sleeves Set
${function() {
const variantData = data.variant || {"id":"357e2137-3c45-4bca-809b-7b3d9a6b1bd0","product_id":"daf569fa-afdd-40b7-b18a-b4abdd628397","title":"Apricot-L","weight_unit":"kg","inventory_quantity":0,"sku":"77210918621- Apricot-L","barcode":"","position":1,"option1":"Apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb1663437c321922e33ebca977ca0842.jpeg","path":"bb1663437c321922e33ebca977ca0842.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.74,"min_quantity":1}],"weight":"0.45","compare_at_price":"52.18","price":"41.74","retail_price":"52.18","available":true,"url":"\/products\/casual-solid-color-hooded-long-sleeves-set?variant=357e2137-3c45-4bca-809b-7b3d9a6b1bd0","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"L"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"357e2137-3c45-4bca-809b-7b3d9a6b1bd0","product_id":"daf569fa-afdd-40b7-b18a-b4abdd628397","title":"Apricot-L","weight_unit":"kg","inventory_quantity":0,"sku":"77210918621- Apricot-L","barcode":"","position":1,"option1":"Apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb1663437c321922e33ebca977ca0842.jpeg","path":"bb1663437c321922e33ebca977ca0842.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.74,"min_quantity":1}],"weight":"0.45","compare_at_price":"52.18","price":"41.74","retail_price":"52.18","available":true,"url":"\/products\/casual-solid-color-hooded-long-sleeves-set?variant=357e2137-3c45-4bca-809b-7b3d9a6b1bd0","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"L"}],"off_ratio":20,"flashsale_info":[],"sales":0};
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 `
`;
}()}