Casual Belted Wind Coat
${function() {
const variantData = data.variant || {"id":"4f12983d-4315-4e56-b060-d21030c4d899","product_id":"ba91fb0b-6e5c-43f9-b6a9-3d890b075dcd","title":"blue-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120903-blue-s","barcode":"","position":7,"option1":"blue","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69226d1e8e1615bc08e1367a4f83faf7.jpeg","path":"69226d1e8e1615bc08e1367a4f83faf7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.99,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"56.99","retail_price":"80","available":true,"url":"\/products\/casual-belted-wind-coat-ek5g?variant=4f12983d-4315-4e56-b060-d21030c4d899","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"s"}],"off_ratio":29,"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":"4f12983d-4315-4e56-b060-d21030c4d899","product_id":"ba91fb0b-6e5c-43f9-b6a9-3d890b075dcd","title":"blue-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120903-blue-s","barcode":"","position":7,"option1":"blue","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69226d1e8e1615bc08e1367a4f83faf7.jpeg","path":"69226d1e8e1615bc08e1367a4f83faf7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.99,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"56.99","retail_price":"80","available":true,"url":"\/products\/casual-belted-wind-coat-ek5g?variant=4f12983d-4315-4e56-b060-d21030c4d899","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"s"}],"off_ratio":29,"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 `
`;
}()}