Versatile Solid Color Maxi Dress
${function() {
const variantData = data.variant || {"id":"334c30cd-12ec-4796-92e4-966a208aba8f","product_id":"d757b6fd-feef-4948-b738-ca3878bd56e7","title":"Green-M","weight_unit":"kg","inventory_quantity":0,"sku":"6624010212522-Green-M","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad1ea3981662337c722570eb8a208a53.jpeg","path":"ad1ea3981662337c722570eb8a208a53.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":58.75,"min_quantity":1}],"weight":"400","compare_at_price":"85.68","price":"58.75","retail_price":"85.68","available":true,"url":"\/products\/versatile-solid-color-maxi-dress?variant=334c30cd-12ec-4796-92e4-966a208aba8f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"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":"334c30cd-12ec-4796-92e4-966a208aba8f","product_id":"d757b6fd-feef-4948-b738-ca3878bd56e7","title":"Green-M","weight_unit":"kg","inventory_quantity":0,"sku":"6624010212522-Green-M","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad1ea3981662337c722570eb8a208a53.jpeg","path":"ad1ea3981662337c722570eb8a208a53.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":58.75,"min_quantity":1}],"weight":"400","compare_at_price":"85.68","price":"58.75","retail_price":"85.68","available":true,"url":"\/products\/versatile-solid-color-maxi-dress?variant=334c30cd-12ec-4796-92e4-966a208aba8f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"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 `
`;
}()}