Chic Sleeveless Solid Color Slit Dress
${function() {
const variantData = data.variant || {"id":"10080e5c-5783-4a1d-a423-efdbe484fdf3","product_id":"4ae1eb75-be49-4228-9636-80882e6579c5","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2306273571-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/58a3ab4331c936f091d4d54b77b565be.jpeg","path":"58a3ab4331c936f091d4d54b77b565be.jpeg","width":745,"height":900,"alt":"","aspect_ratio":0.8277777777777777},"wholesale_price":[{"price":37.85,"min_quantity":1}],"weight":"0.25","compare_at_price":"56","price":"37.85","retail_price":"56","available":true,"url":"\/products\/chic-sleeveless-solid-color-slit-dress?variant=10080e5c-5783-4a1d-a423-efdbe484fdf3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":32,"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":"10080e5c-5783-4a1d-a423-efdbe484fdf3","product_id":"4ae1eb75-be49-4228-9636-80882e6579c5","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2306273571-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/58a3ab4331c936f091d4d54b77b565be.jpeg","path":"58a3ab4331c936f091d4d54b77b565be.jpeg","width":745,"height":900,"alt":"","aspect_ratio":0.8277777777777777},"wholesale_price":[{"price":37.85,"min_quantity":1}],"weight":"0.25","compare_at_price":"56","price":"37.85","retail_price":"56","available":true,"url":"\/products\/chic-sleeveless-solid-color-slit-dress?variant=10080e5c-5783-4a1d-a423-efdbe484fdf3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":32,"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 `
`;
}()}