Designed Temperament Set Jacket
${function() {
const variantData = data.variant || {"id":"286a5397-a81a-4790-9584-43894624eefb","product_id":"76084f4d-6045-4687-9eb5-3f9d6f8079cb","title":"Army green-L","weight_unit":"kg","inventory_quantity":493,"sku":"2110211332-Army green-L","barcode":"","position":1,"option1":"Army green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a594f0e0e5e128041432ecf74986e5a6.jpeg","path":"a594f0e0e5e128041432ecf74986e5a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.9,"min_quantity":1}],"weight":"0.4","compare_at_price":"51.73","price":"41.9","retail_price":"51.73","available":true,"url":"\/products\/designed-temperament-suit-jacket?variant=286a5397-a81a-4790-9584-43894624eefb","available_quantity":999999999,"options":[{"name":"Color","value":"Army green"},{"name":"Size","value":"L"}],"off_ratio":19,"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":"286a5397-a81a-4790-9584-43894624eefb","product_id":"76084f4d-6045-4687-9eb5-3f9d6f8079cb","title":"Army green-L","weight_unit":"kg","inventory_quantity":493,"sku":"2110211332-Army green-L","barcode":"","position":1,"option1":"Army green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a594f0e0e5e128041432ecf74986e5a6.jpeg","path":"a594f0e0e5e128041432ecf74986e5a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.9,"min_quantity":1}],"weight":"0.4","compare_at_price":"51.73","price":"41.9","retail_price":"51.73","available":true,"url":"\/products\/designed-temperament-suit-jacket?variant=286a5397-a81a-4790-9584-43894624eefb","available_quantity":999999999,"options":[{"name":"Color","value":"Army green"},{"name":"Size","value":"L"}],"off_ratio":19,"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 `
`;
}()}