Casual Solid V-Neck Vest & Two-Piece Skirt Set
${function() {
const variantData = data.variant || {"id":"46a6dea1-9857-41e7-ad7b-b3e4283239cd","product_id":"6a911afa-6453-470e-bd39-17b3297dee50","title":"Black-XS","weight_unit":"kg","inventory_quantity":0,"sku":"MM24051412075-Black-XS","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/04e7fe45b3fd8761088b1a29349394a0.jpeg","path":"04e7fe45b3fd8761088b1a29349394a0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":47.36,"min_quantity":1}],"weight":"0","compare_at_price":"65.36","price":"47.36","retail_price":"65.36","available":true,"url":"\/products\/casual-solid-v-neck-vest-two-piece-skirt-set?variant=46a6dea1-9857-41e7-ad7b-b3e4283239cd","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"XS"}],"off_ratio":28,"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":"46a6dea1-9857-41e7-ad7b-b3e4283239cd","product_id":"6a911afa-6453-470e-bd39-17b3297dee50","title":"Black-XS","weight_unit":"kg","inventory_quantity":0,"sku":"MM24051412075-Black-XS","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/04e7fe45b3fd8761088b1a29349394a0.jpeg","path":"04e7fe45b3fd8761088b1a29349394a0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":47.36,"min_quantity":1}],"weight":"0","compare_at_price":"65.36","price":"47.36","retail_price":"65.36","available":true,"url":"\/products\/casual-solid-v-neck-vest-two-piece-skirt-set?variant=46a6dea1-9857-41e7-ad7b-b3e4283239cd","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"XS"}],"off_ratio":28,"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 `
`;
}()}