Linen Round Neck Two-pieces Set
${function() {
const variantData = data.variant || {"id":"33c3e64c-8fb2-4857-abce-1ad42d9c9c0b","product_id":"8235ade9-c70c-4053-8388-f8cddc711116","title":"orange-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21052024-orange-s","barcode":"","position":1,"option1":"orange","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/994cc50e72e918f754361f25c6dcd382.jpg","path":"994cc50e72e918f754361f25c6dcd382.jpg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.73,"min_quantity":1}],"weight":"0","compare_at_price":"42.39","price":"37.73","retail_price":"42.39","available":true,"url":"\/products\/linen-round-neck-two-pieces-set-o18p?variant=33c3e64c-8fb2-4857-abce-1ad42d9c9c0b","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"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":"33c3e64c-8fb2-4857-abce-1ad42d9c9c0b","product_id":"8235ade9-c70c-4053-8388-f8cddc711116","title":"orange-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21052024-orange-s","barcode":"","position":1,"option1":"orange","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/994cc50e72e918f754361f25c6dcd382.jpg","path":"994cc50e72e918f754361f25c6dcd382.jpg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.73,"min_quantity":1}],"weight":"0","compare_at_price":"42.39","price":"37.73","retail_price":"42.39","available":true,"url":"\/products\/linen-round-neck-two-pieces-set-o18p?variant=33c3e64c-8fb2-4857-abce-1ad42d9c9c0b","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"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 `
`;
}()}