Long-Sleeved Double-Breasted Plaid Print Set Jacket
${function() {
const variantData = data.variant || {"id":"d44e058d-f118-4949-9cc2-df8976cce3fd","product_id":"4cba7a5a-fd29-4bcd-b2bf-1fcadcb9f6d4","title":"Green-2XL","weight_unit":"kg","inventory_quantity":500,"sku":"2110201166-Green-2XL","barcode":"","position":11,"option1":"Green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/895435557dbddbaee38ba29137bca361.png","path":"895435557dbddbaee38ba29137bca361.png","width":767,"height":1023,"alt":"","aspect_ratio":0.7497556207233627},"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=d44e058d-f118-4949-9cc2-df8976cce3fd","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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":"d44e058d-f118-4949-9cc2-df8976cce3fd","product_id":"4cba7a5a-fd29-4bcd-b2bf-1fcadcb9f6d4","title":"Green-2XL","weight_unit":"kg","inventory_quantity":500,"sku":"2110201166-Green-2XL","barcode":"","position":11,"option1":"Green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/895435557dbddbaee38ba29137bca361.png","path":"895435557dbddbaee38ba29137bca361.png","width":767,"height":1023,"alt":"","aspect_ratio":0.7497556207233627},"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=d44e058d-f118-4949-9cc2-df8976cce3fd","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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 `
`;
}()}