Exotic Floral Printed Wrap Dress
${function() {
const variantData = data.variant || {"id":"2a549f59-caaf-433e-85d6-a20a7a5c916e","product_id":"4869a902-fb17-4b9f-b626-1f66cfbf5820","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230315783-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cae3a7ebcf78c88c353dd54b4c9ac86.jpeg","path":"6cae3a7ebcf78c88c353dd54b4c9ac86.jpeg","width":666,"height":792,"alt":"","aspect_ratio":0.8409090909090909},"wholesale_price":[{"price":42.28,"min_quantity":1}],"weight":"0.25","compare_at_price":"52.8","price":"42.28","retail_price":"52.8","available":true,"url":"\/products\/exotic-floral-printed-wrap-dress?variant=2a549f59-caaf-433e-85d6-a20a7a5c916e","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
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":"2a549f59-caaf-433e-85d6-a20a7a5c916e","product_id":"4869a902-fb17-4b9f-b626-1f66cfbf5820","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230315783-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cae3a7ebcf78c88c353dd54b4c9ac86.jpeg","path":"6cae3a7ebcf78c88c353dd54b4c9ac86.jpeg","width":666,"height":792,"alt":"","aspect_ratio":0.8409090909090909},"wholesale_price":[{"price":42.28,"min_quantity":1}],"weight":"0.25","compare_at_price":"52.8","price":"42.28","retail_price":"52.8","available":true,"url":"\/products\/exotic-floral-printed-wrap-dress?variant=2a549f59-caaf-433e-85d6-a20a7a5c916e","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
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 `
`;
}()}