Casual Solid Color Loose Waist Midi Dress
${function() {
const variantData = data.variant || {"id":"62eea8fe-6d29-4c2a-9921-ff0bf6d1bf85","product_id":"565817e5-d0e4-493c-b4d8-e4f3cc549119","title":"Green-S","weight_unit":"kg","inventory_quantity":9990,"sku":"BL2303241670-Green-S","barcode":"","position":11,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae3924b4a5c2a3d47ae25dfbad6dba5d.jpeg","path":"ae3924b4a5c2a3d47ae25dfbad6dba5d.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.5,"min_quantity":1}],"weight":"0.3","compare_at_price":"40","price":"33.5","retail_price":"40","available":true,"url":"\/products\/casual-solid-color-loose-waist-midi-dress?variant=62eea8fe-6d29-4c2a-9921-ff0bf6d1bf85","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":16,"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":"62eea8fe-6d29-4c2a-9921-ff0bf6d1bf85","product_id":"565817e5-d0e4-493c-b4d8-e4f3cc549119","title":"Green-S","weight_unit":"kg","inventory_quantity":9990,"sku":"BL2303241670-Green-S","barcode":"","position":11,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae3924b4a5c2a3d47ae25dfbad6dba5d.jpeg","path":"ae3924b4a5c2a3d47ae25dfbad6dba5d.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.5,"min_quantity":1}],"weight":"0.3","compare_at_price":"40","price":"33.5","retail_price":"40","available":true,"url":"\/products\/casual-solid-color-loose-waist-midi-dress?variant=62eea8fe-6d29-4c2a-9921-ff0bf6d1bf85","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":16,"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 `
`;
}()}