Fashionable loose V-neck sweater Cardigan
${function() {
const variantData = data.variant || {"id":"b87789fe-6d93-4e89-951b-e895512c4dea","product_id":"1c4f0f01-7ef6-479f-a281-c1675e612fd3","title":"Ivory-F","weight_unit":"kg","inventory_quantity":0,"sku":"221021508-Ivory-F","barcode":"","position":2,"option1":"Ivory","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8c16335ee498bc5f2aebe4ca38f17f8.png","path":"f8c16335ee498bc5f2aebe4ca38f17f8.png","width":900,"height":1080,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":46.32,"min_quantity":1}],"weight":"0.6","compare_at_price":"54.49","price":"46.32","retail_price":"54.49","available":true,"url":"\/products\/fashionable-loose-v-neck-sweater-cardigan-xli7?variant=b87789fe-6d93-4e89-951b-e895512c4dea","available_quantity":999999999,"options":[{"name":"Color","value":"Ivory"},{"name":"Size","value":"F"}],"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":"b87789fe-6d93-4e89-951b-e895512c4dea","product_id":"1c4f0f01-7ef6-479f-a281-c1675e612fd3","title":"Ivory-F","weight_unit":"kg","inventory_quantity":0,"sku":"221021508-Ivory-F","barcode":"","position":2,"option1":"Ivory","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8c16335ee498bc5f2aebe4ca38f17f8.png","path":"f8c16335ee498bc5f2aebe4ca38f17f8.png","width":900,"height":1080,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":46.32,"min_quantity":1}],"weight":"0.6","compare_at_price":"54.49","price":"46.32","retail_price":"54.49","available":true,"url":"\/products\/fashionable-loose-v-neck-sweater-cardigan-xli7?variant=b87789fe-6d93-4e89-951b-e895512c4dea","available_quantity":999999999,"options":[{"name":"Color","value":"Ivory"},{"name":"Size","value":"F"}],"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 `
`;
}()}