V-neck Soft Waxy Loose Gentle Knit Sweater
${function() {
const variantData = data.variant || {"id":"ae8eeeb3-9e69-4b50-ae5c-63298d3178dc","product_id":"823e3d73-d3e9-4ef0-9171-99ce1d61e3d8","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221021474-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39b1c166afc0f2cac8b26c264722e2b7.jpeg","path":"39b1c166afc0f2cac8b26c264722e2b7.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":56.05,"min_quantity":1}],"weight":"0.56","compare_at_price":"69.2","price":"56.05","retail_price":"69.2","available":true,"url":"\/products\/v-neck-soft-waxy-loose-gentle-knit-sweater?variant=ae8eeeb3-9e69-4b50-ae5c-63298d3178dc","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":19,"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":"ae8eeeb3-9e69-4b50-ae5c-63298d3178dc","product_id":"823e3d73-d3e9-4ef0-9171-99ce1d61e3d8","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221021474-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39b1c166afc0f2cac8b26c264722e2b7.jpeg","path":"39b1c166afc0f2cac8b26c264722e2b7.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":56.05,"min_quantity":1}],"weight":"0.56","compare_at_price":"69.2","price":"56.05","retail_price":"69.2","available":true,"url":"\/products\/v-neck-soft-waxy-loose-gentle-knit-sweater?variant=ae8eeeb3-9e69-4b50-ae5c-63298d3178dc","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":19,"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 `
`;
}()}