Ingvn - Print Patchwork O-neck Long Sleeved Skinny T-shirt Top Fashion Casual Elegant Popularity Wild Spring Autumn New Women's Clothing
${function() {
const variantData = data.variant || {"id":"8676e663-9db2-4e0c-a1bc-8a16af23b693","product_id":"145563d3-4b26-423e-b5e9-a90702ddfbd6","title":"Black-M","weight_unit":"g","inventory_quantity":1654,"sku":"67510876-black-m","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2fb4fd339fcde6e5e4d3ced052a03bf.jpeg","path":"e2fb4fd339fcde6e5e4d3ced052a03bf.jpeg","width":1000,"height":1000,"alt":"Ingvn - Print Patchwork O-Neck Long Sleeved Skinny T-Shirt Top Fashion Casual Elegant Popularity","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/print-patchwork-o-neck-long-sleeved-skinny-t-shirt-top-fashion-casual-elegant-popularity-wild-spring-autumn-new-womens-clothing?variant=8676e663-9db2-4e0c-a1bc-8a16af23b693","available_quantity":1654,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"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":"8676e663-9db2-4e0c-a1bc-8a16af23b693","product_id":"145563d3-4b26-423e-b5e9-a90702ddfbd6","title":"Black-M","weight_unit":"g","inventory_quantity":1654,"sku":"67510876-black-m","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2fb4fd339fcde6e5e4d3ced052a03bf.jpeg","path":"e2fb4fd339fcde6e5e4d3ced052a03bf.jpeg","width":1000,"height":1000,"alt":"Ingvn - Print Patchwork O-Neck Long Sleeved Skinny T-Shirt Top Fashion Casual Elegant Popularity","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/print-patchwork-o-neck-long-sleeved-skinny-t-shirt-top-fashion-casual-elegant-popularity-wild-spring-autumn-new-womens-clothing?variant=8676e663-9db2-4e0c-a1bc-8a16af23b693","available_quantity":1654,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}