Belt Design Flying Sleeve Narrow Waist Dress
${function() {
const variantData = data.variant || {"id":"80389458-92c9-495e-82b7-dcc7002a013e","product_id":"312ee5d3-5b15-4170-990e-6cb8edffdc8d","title":"white-XXS","weight_unit":"kg","inventory_quantity":0,"sku":"66230427421-white-XXS","barcode":"","position":1,"option1":"white","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b3b5bb01b6eab772279b32998fb2828.jpeg","path":"2b3b5bb01b6eab772279b32998fb2828.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"0.48","compare_at_price":"44","price":"32.89","retail_price":"44","available":true,"url":"\/products\/belt-design-flying-sleeve-narrow-waist-dress-cyjm?variant=80389458-92c9-495e-82b7-dcc7002a013e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"XXS"}],"off_ratio":25,"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":"80389458-92c9-495e-82b7-dcc7002a013e","product_id":"312ee5d3-5b15-4170-990e-6cb8edffdc8d","title":"white-XXS","weight_unit":"kg","inventory_quantity":0,"sku":"66230427421-white-XXS","barcode":"","position":1,"option1":"white","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b3b5bb01b6eab772279b32998fb2828.jpeg","path":"2b3b5bb01b6eab772279b32998fb2828.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"0.48","compare_at_price":"44","price":"32.89","retail_price":"44","available":true,"url":"\/products\/belt-design-flying-sleeve-narrow-waist-dress-cyjm?variant=80389458-92c9-495e-82b7-dcc7002a013e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"XXS"}],"off_ratio":25,"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 `
`;
}()}