Zip Stand Collar Comfortable Loose Loungewear Tracksuit
${function() {
const variantData = data.variant || {"id":"9a5c37d6-e06a-4036-8827-1b5fa542b556","product_id":"d3f2bbcc-7833-4677-8e46-73eaa1ed1058","title":"light gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211041423-light gray-S","barcode":"","position":1,"option1":"light gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af86ba20df1eda317466abc69d673766.jpeg","path":"af86ba20df1eda317466abc69d673766.jpeg","width":1280,"height":1592,"alt":"","aspect_ratio":0.8040201005025126},"wholesale_price":[{"price":65.5,"min_quantity":1}],"weight":"0.7","compare_at_price":"81.88","price":"65.5","retail_price":"81.88","available":true,"url":"\/products\/zip-stand-collar-comfortable-loose-loungewear-tracksuit?variant=9a5c37d6-e06a-4036-8827-1b5fa542b556","available_quantity":999999999,"options":[{"name":"color","value":"light gray"},{"name":"size","value":"S"}],"off_ratio":20,"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":"9a5c37d6-e06a-4036-8827-1b5fa542b556","product_id":"d3f2bbcc-7833-4677-8e46-73eaa1ed1058","title":"light gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211041423-light gray-S","barcode":"","position":1,"option1":"light gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af86ba20df1eda317466abc69d673766.jpeg","path":"af86ba20df1eda317466abc69d673766.jpeg","width":1280,"height":1592,"alt":"","aspect_ratio":0.8040201005025126},"wholesale_price":[{"price":65.5,"min_quantity":1}],"weight":"0.7","compare_at_price":"81.88","price":"65.5","retail_price":"81.88","available":true,"url":"\/products\/zip-stand-collar-comfortable-loose-loungewear-tracksuit?variant=9a5c37d6-e06a-4036-8827-1b5fa542b556","available_quantity":999999999,"options":[{"name":"color","value":"light gray"},{"name":"size","value":"S"}],"off_ratio":20,"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 `
`;
}()}