Casual Bohemian Long Maxi dress
${function() {
const variantData = data.variant || {"id":"680b56b1-533b-4727-b0c8-6a0b982385a0","product_id":"b39dc5d1-4399-46f6-968c-b4bcc4b9b161","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304102871-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/990bdb9e3ec2078f068ce5fa05e7f49d.png","path":"990bdb9e3ec2078f068ce5fa05e7f49d.png","width":566,"height":693,"alt":"","aspect_ratio":0.8167388167388168},"wholesale_price":[{"price":45.93,"min_quantity":1}],"weight":"0.45","compare_at_price":"60.5","price":"45.93","retail_price":"60.5","available":true,"url":"\/products\/casual-bohemian-long-maxi-dress?variant=680b56b1-533b-4727-b0c8-6a0b982385a0","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":24,"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":"680b56b1-533b-4727-b0c8-6a0b982385a0","product_id":"b39dc5d1-4399-46f6-968c-b4bcc4b9b161","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304102871-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/990bdb9e3ec2078f068ce5fa05e7f49d.png","path":"990bdb9e3ec2078f068ce5fa05e7f49d.png","width":566,"height":693,"alt":"","aspect_ratio":0.8167388167388168},"wholesale_price":[{"price":45.93,"min_quantity":1}],"weight":"0.45","compare_at_price":"60.5","price":"45.93","retail_price":"60.5","available":true,"url":"\/products\/casual-bohemian-long-maxi-dress?variant=680b56b1-533b-4727-b0c8-6a0b982385a0","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":24,"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 `
`;
}()}