Casual Solid Color V-Neck Shirt & Pants Cotton Linen Two-Piece Set
${function() {
const variantData = data.variant || {"id":"7b291bc6-1d21-4923-b91e-b2516903fb0f","product_id":"f4ff1b17-96b4-4f92-a24e-71449fc36bba","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"MM2403225621-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94653ba39ee175e15a718b1afa22cd69.jpeg","path":"94653ba39ee175e15a718b1afa22cd69.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":46.73,"min_quantity":1}],"weight":"0.5","compare_at_price":"62.73","price":"46.73","retail_price":"62.73","available":true,"url":"\/products\/casual-solid-color-v-neck-shirt-pants-cotton-linen-two-piece-set?variant=7b291bc6-1d21-4923-b91e-b2516903fb0f","available_quantity":999999999,"options":[{"name":"color","value":"Yellow"},{"name":"size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":18};
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":"7b291bc6-1d21-4923-b91e-b2516903fb0f","product_id":"f4ff1b17-96b4-4f92-a24e-71449fc36bba","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"MM2403225621-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94653ba39ee175e15a718b1afa22cd69.jpeg","path":"94653ba39ee175e15a718b1afa22cd69.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":46.73,"min_quantity":1}],"weight":"0.5","compare_at_price":"62.73","price":"46.73","retail_price":"62.73","available":true,"url":"\/products\/casual-solid-color-v-neck-shirt-pants-cotton-linen-two-piece-set?variant=7b291bc6-1d21-4923-b91e-b2516903fb0f","available_quantity":999999999,"options":[{"name":"color","value":"Yellow"},{"name":"size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":18};
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 `
`;
}()}