Two-piece Women's Hooded Pocket Sweater Suit
${function() {
const variantData = data.variant || {"id":"d0b60225-aacf-4704-9fa5-2cd1f167c3b8","product_id":"cfb40ec8-771a-47ed-a4e8-a2fb76c5ca8b","title":"Green-L","weight_unit":"kg","inventory_quantity":998,"sku":"211019930-Green-L","barcode":"","position":9,"option1":"Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba86edb4f9e39c242454f0849b8eefbb.jpeg","path":"ba86edb4f9e39c242454f0849b8eefbb.jpeg","width":1196,"height":1196,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.69,"min_quantity":1}],"weight":"0.45","compare_at_price":"40.86","price":"32.69","retail_price":"40.86","available":true,"url":"\/products\/two-piece-womens-hooded-pocket-sweater-suit?variant=d0b60225-aacf-4704-9fa5-2cd1f167c3b8","available_quantity":999999999,"options":[{"name":"Color","value":"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":"d0b60225-aacf-4704-9fa5-2cd1f167c3b8","product_id":"cfb40ec8-771a-47ed-a4e8-a2fb76c5ca8b","title":"Green-L","weight_unit":"kg","inventory_quantity":998,"sku":"211019930-Green-L","barcode":"","position":9,"option1":"Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba86edb4f9e39c242454f0849b8eefbb.jpeg","path":"ba86edb4f9e39c242454f0849b8eefbb.jpeg","width":1196,"height":1196,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.69,"min_quantity":1}],"weight":"0.45","compare_at_price":"40.86","price":"32.69","retail_price":"40.86","available":true,"url":"\/products\/two-piece-womens-hooded-pocket-sweater-suit?variant=d0b60225-aacf-4704-9fa5-2cd1f167c3b8","available_quantity":999999999,"options":[{"name":"Color","value":"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 `
`;
}()}