Soft Waxy Turtleneck Loose Simple Sweater
${function() {
const variantData = data.variant || {"id":"73024ce4-bc0a-4d92-9974-017772d4d56d","product_id":"70e98d06-c209-457a-9aac-916ed55047e7","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221021473-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7dd2d376d12bc751df500e89933f7d1.jpeg","path":"e7dd2d376d12bc751df500e89933f7d1.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":51.37,"min_quantity":1}],"weight":"0.62","compare_at_price":"62.65","price":"51.37","retail_price":"62.65","available":true,"url":"\/products\/soft-waxy-turtleneck-loose-simple-sweater?variant=73024ce4-bc0a-4d92-9974-017772d4d56d","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":18,"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":"73024ce4-bc0a-4d92-9974-017772d4d56d","product_id":"70e98d06-c209-457a-9aac-916ed55047e7","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221021473-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7dd2d376d12bc751df500e89933f7d1.jpeg","path":"e7dd2d376d12bc751df500e89933f7d1.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":51.37,"min_quantity":1}],"weight":"0.62","compare_at_price":"62.65","price":"51.37","retail_price":"62.65","available":true,"url":"\/products\/soft-waxy-turtleneck-loose-simple-sweater?variant=73024ce4-bc0a-4d92-9974-017772d4d56d","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":18,"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 `
`;
}()}