Women's Casual Long Sleeves shirt
${function() {
const variantData = data.variant || {"id":"b103b1d4-7322-456c-96f5-3e9a9754148e","product_id":"2a9b9afb-965f-41f2-b1ff-d741d1db54f0","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011507-khaki-s","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d149fa823d1351b7780c4bdab33ddc30.jpeg","path":"d149fa823d1351b7780c4bdab33ddc30.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"33.69","price":"29.98","retail_price":"33.69","available":true,"url":"\/products\/womens-thin-cotton-and-linen-9-point-sleeve-shirt?variant=b103b1d4-7322-456c-96f5-3e9a9754148e","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":11,"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":"b103b1d4-7322-456c-96f5-3e9a9754148e","product_id":"2a9b9afb-965f-41f2-b1ff-d741d1db54f0","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011507-khaki-s","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d149fa823d1351b7780c4bdab33ddc30.jpeg","path":"d149fa823d1351b7780c4bdab33ddc30.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"33.69","price":"29.98","retail_price":"33.69","available":true,"url":"\/products\/womens-thin-cotton-and-linen-9-point-sleeve-shirt?variant=b103b1d4-7322-456c-96f5-3e9a9754148e","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":11,"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 `
`;
}()}