Casual Solid Color High Low Sweep Dress
${function() {
const variantData = data.variant || {"id":"e7f69735-de82-427c-b821-d41c5d6057c5","product_id":"d596cd96-110c-474c-a6cc-ff8bd7031440","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303271746-Burgundy-S","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b85f947d79a482e346a35db0d224a521.png","path":"b85f947d79a482e346a35db0d224a521.png","width":750,"height":938,"alt":"","aspect_ratio":0.7995735607675906},"wholesale_price":[{"price":42.06,"min_quantity":1}],"weight":"0.4","compare_at_price":"52.8","price":"42.06","retail_price":"52.8","available":true,"url":"\/products\/casual-solid-color-high-low-sweep-dress?variant=e7f69735-de82-427c-b821-d41c5d6057c5","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":20,"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":"e7f69735-de82-427c-b821-d41c5d6057c5","product_id":"d596cd96-110c-474c-a6cc-ff8bd7031440","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303271746-Burgundy-S","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b85f947d79a482e346a35db0d224a521.png","path":"b85f947d79a482e346a35db0d224a521.png","width":750,"height":938,"alt":"","aspect_ratio":0.7995735607675906},"wholesale_price":[{"price":42.06,"min_quantity":1}],"weight":"0.4","compare_at_price":"52.8","price":"42.06","retail_price":"52.8","available":true,"url":"\/products\/casual-solid-color-high-low-sweep-dress?variant=e7f69735-de82-427c-b821-d41c5d6057c5","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":20,"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 `
`;
}()}