Two-piece Sports And Leisure Sweater Suit
${function() {
const variantData = data.variant || {"id":"a68ae614-5143-42bc-baef-f27e6caacd7a","product_id":"0ea3d220-2171-4192-9906-6dabe7c9593f","title":"Light green-L","weight_unit":"kg","inventory_quantity":964,"sku":"211019969-Light green-L","barcode":"","position":9,"option1":"Light green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1b8322f5f8b38ea2fa27bb1d919ba0d.jpeg","path":"e1b8322f5f8b38ea2fa27bb1d919ba0d.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.65,"min_quantity":1}],"weight":"0.45","compare_at_price":"40.81","price":"32.65","retail_price":"40.81","available":true,"url":"\/products\/two-piece-sports-and-leisure-sweater-suit?variant=a68ae614-5143-42bc-baef-f27e6caacd7a","available_quantity":999999999,"options":[{"name":"Color","value":"Light green"},{"name":"Size","value":"L"}],"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":"a68ae614-5143-42bc-baef-f27e6caacd7a","product_id":"0ea3d220-2171-4192-9906-6dabe7c9593f","title":"Light green-L","weight_unit":"kg","inventory_quantity":964,"sku":"211019969-Light green-L","barcode":"","position":9,"option1":"Light green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1b8322f5f8b38ea2fa27bb1d919ba0d.jpeg","path":"e1b8322f5f8b38ea2fa27bb1d919ba0d.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.65,"min_quantity":1}],"weight":"0.45","compare_at_price":"40.81","price":"32.65","retail_price":"40.81","available":true,"url":"\/products\/two-piece-sports-and-leisure-sweater-suit?variant=a68ae614-5143-42bc-baef-f27e6caacd7a","available_quantity":999999999,"options":[{"name":"Color","value":"Light green"},{"name":"Size","value":"L"}],"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 `
`;
}()}