Stand Collar Zip Colorblock Loose Fashion Sweater
${function() {
const variantData = data.variant || {"id":"eabc29cb-c2c8-489a-a985-7877154506af","product_id":"6d4323ac-4478-4ced-b3b9-4625455d9384","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211041441-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06d4ea3388d967878edcd41d51d10c5f.jpeg","path":"06d4ea3388d967878edcd41d51d10c5f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.04,"min_quantity":1}],"weight":"0.4","compare_at_price":"58.07","price":"47.04","retail_price":"58.07","available":true,"url":"\/products\/stand-collar-zip-colorblock-loose-fashion-sweater?variant=eabc29cb-c2c8-489a-a985-7877154506af","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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":"eabc29cb-c2c8-489a-a985-7877154506af","product_id":"6d4323ac-4478-4ced-b3b9-4625455d9384","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211041441-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06d4ea3388d967878edcd41d51d10c5f.jpeg","path":"06d4ea3388d967878edcd41d51d10c5f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.04,"min_quantity":1}],"weight":"0.4","compare_at_price":"58.07","price":"47.04","retail_price":"58.07","available":true,"url":"\/products\/stand-collar-zip-colorblock-loose-fashion-sweater?variant=eabc29cb-c2c8-489a-a985-7877154506af","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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 `
`;
}()}