Ingvn - Summer Retro Fashion Printed Loose Casual Shirt Short-sleeved Blouses
${function() {
const variantData = data.variant || {"id":"49d89fae-9ee4-499f-9326-d3862c82ca4f","product_id":"f7936824-f373-4458-a6cc-98bea446ea24","title":"Yellow-S","weight_unit":"kg","inventory_quantity":99999,"sku":"UYLIY61GXMTZ6G0B_1","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9358a8eb63cc02db7c301c72e7f8dfc6.jpeg","path":"9358a8eb63cc02db7c301c72e7f8dfc6.jpeg","width":787,"height":1000,"alt":"Ingvn - Summer Retro Fashion Printed Loose Casual Shirt Short-Sleeved Blouses Yellow \/ S","aspect_ratio":0.787},"wholesale_price":[{"price":21.67,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.67","retail_price":"0","available":true,"url":"\/products\/summer-retro-cotton-linen-fashion-printed-loose-casual-shirt-short-sleeved-blouses?variant=49d89fae-9ee4-499f-9326-d3862c82ca4f","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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":"49d89fae-9ee4-499f-9326-d3862c82ca4f","product_id":"f7936824-f373-4458-a6cc-98bea446ea24","title":"Yellow-S","weight_unit":"kg","inventory_quantity":99999,"sku":"UYLIY61GXMTZ6G0B_1","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9358a8eb63cc02db7c301c72e7f8dfc6.jpeg","path":"9358a8eb63cc02db7c301c72e7f8dfc6.jpeg","width":787,"height":1000,"alt":"Ingvn - Summer Retro Fashion Printed Loose Casual Shirt Short-Sleeved Blouses Yellow \/ S","aspect_ratio":0.787},"wholesale_price":[{"price":21.67,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.67","retail_price":"0","available":true,"url":"\/products\/summer-retro-cotton-linen-fashion-printed-loose-casual-shirt-short-sleeved-blouses?variant=49d89fae-9ee4-499f-9326-d3862c82ca4f","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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}
`
}()}