Casual Loose Cozy Coat
${function() {
const variantData = data.variant || {"id":"a0b6bee0-c397-43d4-b52a-ce89d066401b","product_id":"bc4ae86b-e47f-4670-aff7-627235d25c13","title":"Grey-F","weight_unit":"kg","inventory_quantity":1331,"sku":"221021496-Grey-F","barcode":"","position":2,"option1":"Grey","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15707b7fa91dae5c0b025a71233ef8eb.jpeg","path":"15707b7fa91dae5c0b025a71233ef8eb.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63.59,"min_quantity":1}],"weight":"0.35","compare_at_price":"74.81","price":"63.59","retail_price":"74.81","available":true,"url":"\/products\/casual-loose-cozy-coat?variant=a0b6bee0-c397-43d4-b52a-ce89d066401b","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"F"}],"off_ratio":15,"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":"a0b6bee0-c397-43d4-b52a-ce89d066401b","product_id":"bc4ae86b-e47f-4670-aff7-627235d25c13","title":"Grey-F","weight_unit":"kg","inventory_quantity":1331,"sku":"221021496-Grey-F","barcode":"","position":2,"option1":"Grey","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15707b7fa91dae5c0b025a71233ef8eb.jpeg","path":"15707b7fa91dae5c0b025a71233ef8eb.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63.59,"min_quantity":1}],"weight":"0.35","compare_at_price":"74.81","price":"63.59","retail_price":"74.81","available":true,"url":"\/products\/casual-loose-cozy-coat?variant=a0b6bee0-c397-43d4-b52a-ce89d066401b","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"F"}],"off_ratio":15,"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 `
`;
}()}