Lace-Up Open Set Jacket
${function() {
const variantData = data.variant || {"id":"c272f2fb-42ac-4770-b709-51e3c830591f","product_id":"97750ffe-c4ce-4229-ba97-0b4062419b1f","title":"Green-L","weight_unit":"kg","inventory_quantity":994,"sku":"2110221414-Green-L","barcode":"","position":1,"option1":"Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9667e8e2057bfb8013ca8e8da413afe1.jpeg","path":"9667e8e2057bfb8013ca8e8da413afe1.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":60.75,"min_quantity":1}],"weight":"0.52","compare_at_price":"72.32","price":"60.75","retail_price":"72.32","available":true,"url":"\/products\/lace-up-open-suit-jacket?variant=c272f2fb-42ac-4770-b709-51e3c830591f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"L"}],"off_ratio":16,"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":"c272f2fb-42ac-4770-b709-51e3c830591f","product_id":"97750ffe-c4ce-4229-ba97-0b4062419b1f","title":"Green-L","weight_unit":"kg","inventory_quantity":994,"sku":"2110221414-Green-L","barcode":"","position":1,"option1":"Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9667e8e2057bfb8013ca8e8da413afe1.jpeg","path":"9667e8e2057bfb8013ca8e8da413afe1.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":60.75,"min_quantity":1}],"weight":"0.52","compare_at_price":"72.32","price":"60.75","retail_price":"72.32","available":true,"url":"\/products\/lace-up-open-suit-jacket?variant=c272f2fb-42ac-4770-b709-51e3c830591f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"L"}],"off_ratio":16,"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 `
`;
}()}