Fashionable Lapel Sexy Hollow Out Temperament Set Jacket
${function() {
const variantData = data.variant || {"id":"2274f17c-cb77-4638-a4d3-6e4bd853a03d","product_id":"4b2c1cab-1a26-428c-be07-a47b38bf13b9","title":"white-L","weight_unit":"kg","inventory_quantity":0,"sku":"662110201056-white-L","barcode":"","position":7,"option1":"white","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d25275642fc3e9a5e9c8f0d5eaad593.jpeg","path":"6d25275642fc3e9a5e9c8f0d5eaad593.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.32,"min_quantity":1}],"weight":"0","compare_at_price":"46.26","price":"39.32","retail_price":"46.26","available":true,"url":"\/products\/fashionable-lapel-sexy-hollow-out-temperament-suit-jacket?variant=2274f17c-cb77-4638-a4d3-6e4bd853a03d","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"L"}],"off_ratio":15,"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":"2274f17c-cb77-4638-a4d3-6e4bd853a03d","product_id":"4b2c1cab-1a26-428c-be07-a47b38bf13b9","title":"white-L","weight_unit":"kg","inventory_quantity":0,"sku":"662110201056-white-L","barcode":"","position":7,"option1":"white","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d25275642fc3e9a5e9c8f0d5eaad593.jpeg","path":"6d25275642fc3e9a5e9c8f0d5eaad593.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.32,"min_quantity":1}],"weight":"0","compare_at_price":"46.26","price":"39.32","retail_price":"46.26","available":true,"url":"\/products\/fashionable-lapel-sexy-hollow-out-temperament-suit-jacket?variant=2274f17c-cb77-4638-a4d3-6e4bd853a03d","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"L"}],"off_ratio":15,"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 `
`;
}()}