Loose soft waxy sweater with contrasting high neck
${function() {
const variantData = data.variant || {"id":"7c128d9b-027c-4b60-a699-ccbacbc1e3ad","product_id":"b9e5f90c-64a1-4cd9-a655-a9a7c5419bea","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019341-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0ad3dc020b08cf238dbb10abe35b0aa.jpeg","path":"f0ad3dc020b08cf238dbb10abe35b0aa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.75,"min_quantity":1}],"weight":"0.5","compare_at_price":"44.28","price":"36.75","retail_price":"44.28","available":true,"url":"\/products\/loose-soft-waxy-sweater-with-contrasting-high-neck?variant=7c128d9b-027c-4b60-a699-ccbacbc1e3ad","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":17,"flashsale_info":[],"sales":26};
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":"7c128d9b-027c-4b60-a699-ccbacbc1e3ad","product_id":"b9e5f90c-64a1-4cd9-a655-a9a7c5419bea","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019341-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0ad3dc020b08cf238dbb10abe35b0aa.jpeg","path":"f0ad3dc020b08cf238dbb10abe35b0aa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.75,"min_quantity":1}],"weight":"0.5","compare_at_price":"44.28","price":"36.75","retail_price":"44.28","available":true,"url":"\/products\/loose-soft-waxy-sweater-with-contrasting-high-neck?variant=7c128d9b-027c-4b60-a699-ccbacbc1e3ad","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":17,"flashsale_info":[],"sales":26};
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 `
`;
}()}