Women'S Long-Sleeved Set Jacket
${function() {
const variantData = data.variant || {"id":"862d440a-42f0-4990-b5a6-4912bde1e89a","product_id":"8690a424-4646-4b02-802d-ab34e6c1afdd","title":"Yellow-L","weight_unit":"kg","inventory_quantity":9999,"sku":"2110201159-Yellow-L","barcode":"","position":9,"option1":"Yellow","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a74b3ff9ee097c01ed25d2a11c999804.jpeg","path":"a74b3ff9ee097c01ed25d2a11c999804.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.53,"min_quantity":1}],"weight":"0.4","compare_at_price":"37.69","price":"30.53","retail_price":"37.69","available":true,"url":"\/products\/womens-long-sleeved-suit-jacket?variant=862d440a-42f0-4990-b5a6-4912bde1e89a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"L"}],"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":"862d440a-42f0-4990-b5a6-4912bde1e89a","product_id":"8690a424-4646-4b02-802d-ab34e6c1afdd","title":"Yellow-L","weight_unit":"kg","inventory_quantity":9999,"sku":"2110201159-Yellow-L","barcode":"","position":9,"option1":"Yellow","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a74b3ff9ee097c01ed25d2a11c999804.jpeg","path":"a74b3ff9ee097c01ed25d2a11c999804.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.53,"min_quantity":1}],"weight":"0.4","compare_at_price":"37.69","price":"30.53","retail_price":"37.69","available":true,"url":"\/products\/womens-long-sleeved-suit-jacket?variant=862d440a-42f0-4990-b5a6-4912bde1e89a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"L"}],"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 `
`;
}()}