Check Double Breasted Fashion Blazer
${function() {
const variantData = data.variant || {"id":"137afe86-c601-4b14-870f-379fea664eee","product_id":"f71c237d-9631-452b-8e8a-da0a8799ba09","title":"khaki-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220815839-khaki-2XL","barcode":"","position":13,"option1":"khaki","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ee36f2d394a6d99a08e7781bf4650e6.jpeg","path":"0ee36f2d394a6d99a08e7781bf4650e6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.59,"min_quantity":1}],"weight":"0","compare_at_price":"48.28","price":"39.59","retail_price":"48.28","available":true,"url":"\/products\/check-double-breasted-fashion-blazer?variant=137afe86-c601-4b14-870f-379fea664eee","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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":"137afe86-c601-4b14-870f-379fea664eee","product_id":"f71c237d-9631-452b-8e8a-da0a8799ba09","title":"khaki-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220815839-khaki-2XL","barcode":"","position":13,"option1":"khaki","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ee36f2d394a6d99a08e7781bf4650e6.jpeg","path":"0ee36f2d394a6d99a08e7781bf4650e6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.59,"min_quantity":1}],"weight":"0","compare_at_price":"48.28","price":"39.59","retail_price":"48.28","available":true,"url":"\/products\/check-double-breasted-fashion-blazer?variant=137afe86-c601-4b14-870f-379fea664eee","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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 `
`;
}()}