V-neck Soft Waxy Loose Gentle Knit Sweater
${function() {
const variantData = data.variant || {"id":"d1747ffd-e966-4757-a4d6-fd881d416ef7","product_id":"823e3d73-d3e9-4ef0-9171-99ce1d61e3d8","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221021474-black-one size","barcode":"","position":3,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e45d14d5dc06ac69118f18815ad9d81.jpeg","path":"6e45d14d5dc06ac69118f18815ad9d81.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=d1747ffd-e966-4757-a4d6-fd881d416ef7","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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":"d1747ffd-e966-4757-a4d6-fd881d416ef7","product_id":"823e3d73-d3e9-4ef0-9171-99ce1d61e3d8","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221021474-black-one size","barcode":"","position":3,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e45d14d5dc06ac69118f18815ad9d81.jpeg","path":"6e45d14d5dc06ac69118f18815ad9d81.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=d1747ffd-e966-4757-a4d6-fd881d416ef7","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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 `
`;
}()}