Men's Casual (Leisure Time) Jacket
${function() {
const variantData = data.variant || {"id":"408c08d7-f5a9-4b62-861f-3d029d769086","product_id":"a2e0c923-1868-4d7f-987d-2b9d6d8f2833","title":"Red-M","weight_unit":"g","inventory_quantity":999,"sku":"1583398815133065217","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b148135a180e82cb9d2539a517442913.jpeg","path":"b148135a180e82cb9d2539a517442913.jpeg","width":800,"height":800,"alt":"Men's Casual (Leisure Time) Jacket Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":32.95,"min_quantity":1}],"weight":"700","compare_at_price":"39.95","price":"32.95","retail_price":"39.95","available":true,"url":"\/products\/mens-casual-leisure-time-jacket?variant=408c08d7-f5a9-4b62-861f-3d029d769086","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":18,"flashsale_info":[],"sales":6};
const saveType = "percentage";
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":"408c08d7-f5a9-4b62-861f-3d029d769086","product_id":"a2e0c923-1868-4d7f-987d-2b9d6d8f2833","title":"Red-M","weight_unit":"g","inventory_quantity":999,"sku":"1583398815133065217","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b148135a180e82cb9d2539a517442913.jpeg","path":"b148135a180e82cb9d2539a517442913.jpeg","width":800,"height":800,"alt":"Men's Casual (Leisure Time) Jacket Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":32.95,"min_quantity":1}],"weight":"700","compare_at_price":"39.95","price":"32.95","retail_price":"39.95","available":true,"url":"\/products\/mens-casual-leisure-time-jacket?variant=408c08d7-f5a9-4b62-861f-3d029d769086","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":18,"flashsale_info":[],"sales":6};
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 `
`;
}()}