Long-Sleeved Double-Breasted Plaid Print Set Jacket
${function() {
const variantData = data.variant || {"id":"05de0fba-bbf4-4185-b979-8870151ea27f","product_id":"4cba7a5a-fd29-4bcd-b2bf-1fcadcb9f6d4","title":"Black-2XL","weight_unit":"kg","inventory_quantity":500,"sku":"2110201166-Black-2XL","barcode":"","position":1,"option1":"Black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d25aef97704b87e79649e5e1a20a7258.jpeg","path":"d25aef97704b87e79649e5e1a20a7258.jpeg","width":640,"height":851,"alt":"","aspect_ratio":0.7520564042303173},"wholesale_price":[{"price":35.64,"min_quantity":1}],"weight":"0.4","compare_at_price":"44.55","price":"35.64","retail_price":"44.55","available":true,"url":"\/products\/long-sleeved-double-breasted-plaid-print-suit-jacket?variant=05de0fba-bbf4-4185-b979-8870151ea27f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":20,"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":"05de0fba-bbf4-4185-b979-8870151ea27f","product_id":"4cba7a5a-fd29-4bcd-b2bf-1fcadcb9f6d4","title":"Black-2XL","weight_unit":"kg","inventory_quantity":500,"sku":"2110201166-Black-2XL","barcode":"","position":1,"option1":"Black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d25aef97704b87e79649e5e1a20a7258.jpeg","path":"d25aef97704b87e79649e5e1a20a7258.jpeg","width":640,"height":851,"alt":"","aspect_ratio":0.7520564042303173},"wholesale_price":[{"price":35.64,"min_quantity":1}],"weight":"0.4","compare_at_price":"44.55","price":"35.64","retail_price":"44.55","available":true,"url":"\/products\/long-sleeved-double-breasted-plaid-print-suit-jacket?variant=05de0fba-bbf4-4185-b979-8870151ea27f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":20,"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 `
`;
}()}