Autumn And Winter Fashion Plus Size Coat Jacket
${function() {
const variantData = data.variant || {"id":"fa4efe52-d0e7-427d-893f-757b529d8f0d","product_id":"395cad61-557a-4010-8c3e-4069f9c61e56","title":"khaki-s","weight_unit":"kg","inventory_quantity":0,"sku":"20112404-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/068cea69570ba260d8b64ede4a91017c.jpeg","path":"068cea69570ba260d8b64ede4a91017c.jpeg","width":750,"height":800,"alt":"","aspect_ratio":0.9375},"wholesale_price":[{"price":78.32,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"78.32","retail_price":"60","available":true,"url":"\/products\/autumn-and-winter-fashion-plus-size-coat-jacket-abkj?variant=fa4efe52-d0e7-427d-893f-757b529d8f0d","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"s"}],"off_ratio":0,"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":"fa4efe52-d0e7-427d-893f-757b529d8f0d","product_id":"395cad61-557a-4010-8c3e-4069f9c61e56","title":"khaki-s","weight_unit":"kg","inventory_quantity":0,"sku":"20112404-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/068cea69570ba260d8b64ede4a91017c.jpeg","path":"068cea69570ba260d8b64ede4a91017c.jpeg","width":750,"height":800,"alt":"","aspect_ratio":0.9375},"wholesale_price":[{"price":78.32,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"78.32","retail_price":"60","available":true,"url":"\/products\/autumn-and-winter-fashion-plus-size-coat-jacket-abkj?variant=fa4efe52-d0e7-427d-893f-757b529d8f0d","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"s"}],"off_ratio":0,"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 `
`;
}()}