Ingvn - 2023 New Summer Casual Button Rose Red Women's Sets Cotton Two Pieces Sets Women Long Sleeve White Shirt and Shorts Set Outfits
${function() {
const variantData = data.variant || {"id":"c8051f70-7729-4a15-a81a-de9938d35671","product_id":"f480dd45-d4e3-4fc5-abba-b10da2e24651","title":"Brown-S","weight_unit":"g","inventory_quantity":1146,"sku":"53446469-brown-s","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9eee1f4185eca095d1465d11f4fc3bac.jpeg","path":"9eee1f4185eca095d1465d11f4fc3bac.jpeg","width":1000,"height":1000,"alt":"Ingvn - 2023 New Summer Casual Button Rose Red Women\u2019s Sets Cotton Two Pieces Women Long Sleeve","aspect_ratio":1},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40.99","retail_price":"0","available":true,"url":"\/products\/2023-new-summer-casual-button-rose-red-womens-sets-cotton-two-pieces-sets-women-long-sleeve-white-shirt-and-shorts-set-outfits?variant=c8051f70-7729-4a15-a81a-de9938d35671","available_quantity":1146,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"c8051f70-7729-4a15-a81a-de9938d35671","product_id":"f480dd45-d4e3-4fc5-abba-b10da2e24651","title":"Brown-S","weight_unit":"g","inventory_quantity":1146,"sku":"53446469-brown-s","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9eee1f4185eca095d1465d11f4fc3bac.jpeg","path":"9eee1f4185eca095d1465d11f4fc3bac.jpeg","width":1000,"height":1000,"alt":"Ingvn - 2023 New Summer Casual Button Rose Red Women\u2019s Sets Cotton Two Pieces Women Long Sleeve","aspect_ratio":1},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40.99","retail_price":"0","available":true,"url":"\/products\/2023-new-summer-casual-button-rose-red-womens-sets-cotton-two-pieces-sets-women-long-sleeve-white-shirt-and-shorts-set-outfits?variant=c8051f70-7729-4a15-a81a-de9938d35671","available_quantity":1146,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}