Elegant Simple Bishop Sleeve Maxi Dress
${function() {
const variantData = data.variant || {"id":"56254158-5639-401a-9bc1-81a87c3fcc2b","product_id":"f4fbdd03-3618-40e0-af6b-93ad513de497","title":"Coffee-S","weight_unit":"kg","inventory_quantity":0,"sku":"6623122712168-Coffee-S","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c6677a2000427c6d4138003135b74134.jpeg","path":"c6677a2000427c6d4138003135b74134.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":62.21,"min_quantity":1}],"weight":"0","compare_at_price":"90.72","price":"62.21","retail_price":"90.72","available":true,"url":"\/products\/elegant-simple-bishop-sleeve-maxi-dress-4ctk?variant=56254158-5639-401a-9bc1-81a87c3fcc2b","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":31,"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":"56254158-5639-401a-9bc1-81a87c3fcc2b","product_id":"f4fbdd03-3618-40e0-af6b-93ad513de497","title":"Coffee-S","weight_unit":"kg","inventory_quantity":0,"sku":"6623122712168-Coffee-S","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c6677a2000427c6d4138003135b74134.jpeg","path":"c6677a2000427c6d4138003135b74134.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":62.21,"min_quantity":1}],"weight":"0","compare_at_price":"90.72","price":"62.21","retail_price":"90.72","available":true,"url":"\/products\/elegant-simple-bishop-sleeve-maxi-dress-4ctk?variant=56254158-5639-401a-9bc1-81a87c3fcc2b","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":31,"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 `
`;
}()}