Long-Sleeved Double-Breasted Set Jacket
${function() {
const variantData = data.variant || {"id":"19c68922-40f4-4d5f-b82c-d182985b64b2","product_id":"6ef52fac-042f-4642-81a7-f2876ec08f35","title":"Lattice-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"2110201173-Lattice-2XL","barcode":"","position":6,"option1":"Lattice","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c1f2d3b23ea182e3dbad991c3889ce0.jpeg","path":"2c1f2d3b23ea182e3dbad991c3889ce0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.96,"min_quantity":1}],"weight":"0.45","compare_at_price":"45.07","price":"36.96","retail_price":"45.07","available":true,"url":"\/products\/long-sleeved-double-breasted-suit-jacket?variant=19c68922-40f4-4d5f-b82c-d182985b64b2","available_quantity":999999999,"options":[{"name":"Color","value":"Lattice"},{"name":"Size","value":"2XL"}],"off_ratio":18,"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":"19c68922-40f4-4d5f-b82c-d182985b64b2","product_id":"6ef52fac-042f-4642-81a7-f2876ec08f35","title":"Lattice-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"2110201173-Lattice-2XL","barcode":"","position":6,"option1":"Lattice","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c1f2d3b23ea182e3dbad991c3889ce0.jpeg","path":"2c1f2d3b23ea182e3dbad991c3889ce0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.96,"min_quantity":1}],"weight":"0.45","compare_at_price":"45.07","price":"36.96","retail_price":"45.07","available":true,"url":"\/products\/long-sleeved-double-breasted-suit-jacket?variant=19c68922-40f4-4d5f-b82c-d182985b64b2","available_quantity":999999999,"options":[{"name":"Color","value":"Lattice"},{"name":"Size","value":"2XL"}],"off_ratio":18,"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 `
`;
}()}