Loose V-neck Long-sleeved Shirt Top
${function() {
const variantData = data.variant || {"id":"b471f87a-ce49-46a6-9f2f-f749ec427299","product_id":"d5600889-92ab-4cfb-8e43-19aac2459c72","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL230424226-Navy-S","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d716563e2b112e25a00284fa6fe37b1a.jpeg","path":"d716563e2b112e25a00284fa6fe37b1a.jpeg","width":576,"height":770,"alt":"","aspect_ratio":0.7480519480519481},"wholesale_price":[{"price":34.65,"min_quantity":1}],"weight":"0.26","compare_at_price":"45","price":"34.65","retail_price":"45","available":true,"url":"\/products\/loose-v-neck-long-sleeved-shirt-top?variant=b471f87a-ce49-46a6-9f2f-f749ec427299","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":23,"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":"b471f87a-ce49-46a6-9f2f-f749ec427299","product_id":"d5600889-92ab-4cfb-8e43-19aac2459c72","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL230424226-Navy-S","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d716563e2b112e25a00284fa6fe37b1a.jpeg","path":"d716563e2b112e25a00284fa6fe37b1a.jpeg","width":576,"height":770,"alt":"","aspect_ratio":0.7480519480519481},"wholesale_price":[{"price":34.65,"min_quantity":1}],"weight":"0.26","compare_at_price":"45","price":"34.65","retail_price":"45","available":true,"url":"\/products\/loose-v-neck-long-sleeved-shirt-top?variant=b471f87a-ce49-46a6-9f2f-f749ec427299","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":23,"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 `
`;
}()}