Elegant Oval Print Maxi Dress
${function() {
const variantData = data.variant || {"id":"d67db1c8-0f28-429b-8829-6db6c9f94b1a","product_id":"5d00a7bb-aaae-477c-8a2c-4a72104ac044","title":"Purple-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304183411-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19ec44407358c279a788e1874ae7ed78.png","path":"19ec44407358c279a788e1874ae7ed78.png","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":33.35,"min_quantity":1}],"weight":"0.3","compare_at_price":"53.76","price":"33.35","retail_price":"53.76","available":true,"url":"\/products\/elegant-oval-print-maxi-dress-pppv?variant=d67db1c8-0f28-429b-8829-6db6c9f94b1a","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":38,"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":"d67db1c8-0f28-429b-8829-6db6c9f94b1a","product_id":"5d00a7bb-aaae-477c-8a2c-4a72104ac044","title":"Purple-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304183411-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19ec44407358c279a788e1874ae7ed78.png","path":"19ec44407358c279a788e1874ae7ed78.png","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":33.35,"min_quantity":1}],"weight":"0.3","compare_at_price":"53.76","price":"33.35","retail_price":"53.76","available":true,"url":"\/products\/elegant-oval-print-maxi-dress-pppv?variant=d67db1c8-0f28-429b-8829-6db6c9f94b1a","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":38,"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 `
`;
}()}