Versatile Solid Color Maxi Dress
${function() {
const variantData = data.variant || {"id":"15dba980-aa1f-40e7-81db-71c8f312b2df","product_id":"d757b6fd-feef-4948-b738-ca3878bd56e7","title":"Blue-M","weight_unit":"kg","inventory_quantity":0,"sku":"6624010212522-Blue-M","barcode":"","position":5,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5199e00a409a65d83eac93599648c3c4.jpeg","path":"5199e00a409a65d83eac93599648c3c4.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=15dba980-aa1f-40e7-81db-71c8f312b2df","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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":"15dba980-aa1f-40e7-81db-71c8f312b2df","product_id":"d757b6fd-feef-4948-b738-ca3878bd56e7","title":"Blue-M","weight_unit":"kg","inventory_quantity":0,"sku":"6624010212522-Blue-M","barcode":"","position":5,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5199e00a409a65d83eac93599648c3c4.jpeg","path":"5199e00a409a65d83eac93599648c3c4.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=15dba980-aa1f-40e7-81db-71c8f312b2df","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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 `
`;
}()}