Check Double Breasted Fashion Blazer
${function() {
const variantData = data.variant || {"id":"b79c09ac-a54a-47c0-8e28-e5f7794d3a35","product_id":"f71c237d-9631-452b-8e8a-da0a8799ba09","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220815839-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f65c836aab9962f0e8955a53a7907209.jpeg","path":"f65c836aab9962f0e8955a53a7907209.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=b79c09ac-a54a-47c0-8e28-e5f7794d3a35","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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":"b79c09ac-a54a-47c0-8e28-e5f7794d3a35","product_id":"f71c237d-9631-452b-8e8a-da0a8799ba09","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220815839-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f65c836aab9962f0e8955a53a7907209.jpeg","path":"f65c836aab9962f0e8955a53a7907209.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=b79c09ac-a54a-47c0-8e28-e5f7794d3a35","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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 `
`;
}()}