Stand Collar Zip Colorblock Loose Fashion Sweater
${function() {
const variantData = data.variant || {"id":"83412f23-9f01-45d3-a799-724853637f5c","product_id":"6d4323ac-4478-4ced-b3b9-4625455d9384","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211041441-black-one size","barcode":"","position":3,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e4b0caa80be5f8ca9d8a4225390e34d.jpeg","path":"2e4b0caa80be5f8ca9d8a4225390e34d.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=83412f23-9f01-45d3-a799-724853637f5c","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":"83412f23-9f01-45d3-a799-724853637f5c","product_id":"6d4323ac-4478-4ced-b3b9-4625455d9384","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211041441-black-one size","barcode":"","position":3,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e4b0caa80be5f8ca9d8a4225390e34d.jpeg","path":"2e4b0caa80be5f8ca9d8a4225390e34d.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=83412f23-9f01-45d3-a799-724853637f5c","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 `
`;
}()}