Cardigan Jacket Lapel Slim Small Set
${function() {
const variantData = data.variant || {"id":"5e80c26d-4d2f-489c-a10f-4100e4f9b533","product_id":"fe0ad6de-0030-4480-9dce-8dcfb464a1c6","title":"Gray-2XL","weight_unit":"kg","inventory_quantity":8781,"sku":"2110201176-Gray-2XL","barcode":"","position":13,"option1":"Gray","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d180dfbd1b3473f0c646f489544ff019.jpeg","path":"d180dfbd1b3473f0c646f489544ff019.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.92,"min_quantity":1}],"weight":"0.4","compare_at_price":"30.49","price":"25.92","retail_price":"30.49","available":true,"url":"\/products\/cardigan-jacket-lapel-slim-small-suit?variant=5e80c26d-4d2f-489c-a10f-4100e4f9b533","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"2XL"}],"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":"5e80c26d-4d2f-489c-a10f-4100e4f9b533","product_id":"fe0ad6de-0030-4480-9dce-8dcfb464a1c6","title":"Gray-2XL","weight_unit":"kg","inventory_quantity":8781,"sku":"2110201176-Gray-2XL","barcode":"","position":13,"option1":"Gray","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d180dfbd1b3473f0c646f489544ff019.jpeg","path":"d180dfbd1b3473f0c646f489544ff019.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.92,"min_quantity":1}],"weight":"0.4","compare_at_price":"30.49","price":"25.92","retail_price":"30.49","available":true,"url":"\/products\/cardigan-jacket-lapel-slim-small-suit?variant=5e80c26d-4d2f-489c-a10f-4100e4f9b533","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"2XL"}],"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 `
`;
}()}