Techwear Landscape Print Sweater
${function() {
const variantData = data.variant || {"id":"17cf4eec-f52f-4b52-9053-c3f286ac2382","product_id":"84f0ba50-74ba-4e7e-8aa8-81bbbe22a94a","title":"white-XS","weight_unit":"g","inventory_quantity":999,"sku":"1428635613405896706","barcode":"","position":6,"option1":"white","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e91b7925901d97a8a3251198c03145aa.jpeg","path":"e91b7925901d97a8a3251198c03145aa.jpeg","width":800,"height":800,"alt":"Techwear Landscape Print Sweater Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"400","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/techwear-landscape-print-sweater?variant=17cf4eec-f52f-4b52-9053-c3f286ac2382","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":7};
const saveType = "percentage";
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":"17cf4eec-f52f-4b52-9053-c3f286ac2382","product_id":"84f0ba50-74ba-4e7e-8aa8-81bbbe22a94a","title":"white-XS","weight_unit":"g","inventory_quantity":999,"sku":"1428635613405896706","barcode":"","position":6,"option1":"white","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e91b7925901d97a8a3251198c03145aa.jpeg","path":"e91b7925901d97a8a3251198c03145aa.jpeg","width":800,"height":800,"alt":"Techwear Landscape Print Sweater Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"400","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/techwear-landscape-print-sweater?variant=17cf4eec-f52f-4b52-9053-c3f286ac2382","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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 `
`;
}()}