Elegant Solid Satin Back Cut Out Midi Dress
${function() {
const variantData = data.variant || {"id":"26e20adf-0688-4e05-8de3-5a6d3c57dcc2","product_id":"347b8020-0536-42cf-b592-1bc3f849d95f","title":"Champagne-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230505675-Champagne-S","barcode":"","position":9,"option1":"Champagne","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1410f08d1a7b2d8901869b5142d45cb.png","path":"a1410f08d1a7b2d8901869b5142d45cb.png","width":1080,"height":1473,"alt":"","aspect_ratio":0.7331975560081466},"wholesale_price":[{"price":42.68,"min_quantity":1}],"weight":"0.35","compare_at_price":"66","price":"42.68","retail_price":"66","available":true,"url":"\/products\/elegant-solid-satin-back-cut-out-midi-dress?variant=26e20adf-0688-4e05-8de3-5a6d3c57dcc2","available_quantity":999999999,"options":[{"name":"Color","value":"Champagne"},{"name":"Size","value":"S"}],"off_ratio":35,"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":"26e20adf-0688-4e05-8de3-5a6d3c57dcc2","product_id":"347b8020-0536-42cf-b592-1bc3f849d95f","title":"Champagne-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230505675-Champagne-S","barcode":"","position":9,"option1":"Champagne","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1410f08d1a7b2d8901869b5142d45cb.png","path":"a1410f08d1a7b2d8901869b5142d45cb.png","width":1080,"height":1473,"alt":"","aspect_ratio":0.7331975560081466},"wholesale_price":[{"price":42.68,"min_quantity":1}],"weight":"0.35","compare_at_price":"66","price":"42.68","retail_price":"66","available":true,"url":"\/products\/elegant-solid-satin-back-cut-out-midi-dress?variant=26e20adf-0688-4e05-8de3-5a6d3c57dcc2","available_quantity":999999999,"options":[{"name":"Color","value":"Champagne"},{"name":"Size","value":"S"}],"off_ratio":35,"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 `
`;
}()}