Chill Seaside Braid Maxi Dress
${function() {
const variantData = data.variant || {"id":"f00945d7-f115-4d7b-a9e5-0c025078523f","product_id":"eb70738c-6bec-4b60-b06e-4b700adf67cb","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2403154829-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b2672c4c139f6d401981565864ef9238.jpeg","path":"b2672c4c139f6d401981565864ef9238.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"49.98","retail_price":"70","available":true,"url":"\/products\/chill-seaside-braid-maxi-dress?variant=f00945d7-f115-4d7b-a9e5-0c025078523f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":29,"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":"f00945d7-f115-4d7b-a9e5-0c025078523f","product_id":"eb70738c-6bec-4b60-b06e-4b700adf67cb","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2403154829-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b2672c4c139f6d401981565864ef9238.jpeg","path":"b2672c4c139f6d401981565864ef9238.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"49.98","retail_price":"70","available":true,"url":"\/products\/chill-seaside-braid-maxi-dress?variant=f00945d7-f115-4d7b-a9e5-0c025078523f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":29,"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 `
`;
}()}