Retro Court Style Lantern Sleeve Large Lapel Long Coat
${function() {
const variantData = data.variant || {"id":"61c288e9-05a1-4d49-af54-e9c3bb23e2a4","product_id":"be660bb3-3011-43dc-8ecf-cbc7171b6f42","title":"camel-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211181879-camel-S","barcode":"","position":6,"option1":"camel","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9c1514e1fb51466e22f70857da7b819.jpeg","path":"e9c1514e1fb51466e22f70857da7b819.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":58.99,"min_quantity":1}],"weight":"1.2","compare_at_price":"66.95","price":"58.99","retail_price":"66.95","available":true,"url":"\/products\/retro-court-style-lantern-sleeve-large-lapel-long-coat?variant=61c288e9-05a1-4d49-af54-e9c3bb23e2a4","available_quantity":999999999,"options":[{"name":"color","value":"camel"},{"name":"size","value":"S"}],"off_ratio":12,"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":"61c288e9-05a1-4d49-af54-e9c3bb23e2a4","product_id":"be660bb3-3011-43dc-8ecf-cbc7171b6f42","title":"camel-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211181879-camel-S","barcode":"","position":6,"option1":"camel","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9c1514e1fb51466e22f70857da7b819.jpeg","path":"e9c1514e1fb51466e22f70857da7b819.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":58.99,"min_quantity":1}],"weight":"1.2","compare_at_price":"66.95","price":"58.99","retail_price":"66.95","available":true,"url":"\/products\/retro-court-style-lantern-sleeve-large-lapel-long-coat?variant=61c288e9-05a1-4d49-af54-e9c3bb23e2a4","available_quantity":999999999,"options":[{"name":"color","value":"camel"},{"name":"size","value":"S"}],"off_ratio":12,"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 `
`;
}()}