Fashionable V-neck curly-hem sweater
${function() {
const variantData = data.variant || {"id":"baa5c651-2c27-4fa0-a01e-8b95a296df43","product_id":"f52d0d79-b421-46fe-a120-715c0948f104","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221019325-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/031de80f354914b24377559b50e466cf.jpeg","path":"031de80f354914b24377559b50e466cf.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":35.62,"min_quantity":1}],"weight":"0.5","compare_at_price":"43.98","price":"35.62","retail_price":"43.98","available":true,"url":"\/products\/fashionable-v-neck-curly-hem-sweater?variant=baa5c651-2c27-4fa0-a01e-8b95a296df43","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"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":"baa5c651-2c27-4fa0-a01e-8b95a296df43","product_id":"f52d0d79-b421-46fe-a120-715c0948f104","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221019325-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/031de80f354914b24377559b50e466cf.jpeg","path":"031de80f354914b24377559b50e466cf.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":35.62,"min_quantity":1}],"weight":"0.5","compare_at_price":"43.98","price":"35.62","retail_price":"43.98","available":true,"url":"\/products\/fashionable-v-neck-curly-hem-sweater?variant=baa5c651-2c27-4fa0-a01e-8b95a296df43","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"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 `
`;
}()}