Casual Single Breasted V-Neck Sweater
${function() {
const variantData = data.variant || {"id":"f848d654-ee5b-46da-ae5f-b133af96bb63","product_id":"12855028-bea9-417b-9286-a3924991317f","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221021475-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfa945c5b203bc3929dd3b774f922a0e.jpeg","path":"cfa945c5b203bc3929dd3b774f922a0e.jpeg","width":752,"height":838,"alt":"","aspect_ratio":0.8973747016706444},"wholesale_price":[{"price":50.26,"min_quantity":1}],"weight":"0.3","compare_at_price":"59.83","price":"50.26","retail_price":"59.83","available":true,"url":"\/products\/casual-single-breasted-v-neck-sweater?variant=f848d654-ee5b-46da-ae5f-b133af96bb63","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":37};
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":"f848d654-ee5b-46da-ae5f-b133af96bb63","product_id":"12855028-bea9-417b-9286-a3924991317f","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221021475-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfa945c5b203bc3929dd3b774f922a0e.jpeg","path":"cfa945c5b203bc3929dd3b774f922a0e.jpeg","width":752,"height":838,"alt":"","aspect_ratio":0.8973747016706444},"wholesale_price":[{"price":50.26,"min_quantity":1}],"weight":"0.3","compare_at_price":"59.83","price":"50.26","retail_price":"59.83","available":true,"url":"\/products\/casual-single-breasted-v-neck-sweater?variant=f848d654-ee5b-46da-ae5f-b133af96bb63","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":37};
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 `
`;
}()}