V-neck Long-sleeves Bohemian Dress
${function() {
const variantData = data.variant || {"id":"ba847f58-ec21-43be-a1d5-b3ff637833a0","product_id":"f18cfd68-4fe1-4f51-804f-f5a208bac65d","title":"Rose Red-S","weight_unit":"kg","inventory_quantity":419,"sku":"BL2304102804-Rose Red-S","barcode":"","position":5,"option1":"Rose Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e34c79b76ddc82ba7c53375b7f934417.jpeg","path":"e34c79b76ddc82ba7c53375b7f934417.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.85,"min_quantity":1}],"weight":"0.43","compare_at_price":"49.5","price":"38.85","retail_price":"49.5","available":true,"url":"\/products\/v-neck-long-sleeves-bohemian-dress?variant=ba847f58-ec21-43be-a1d5-b3ff637833a0","available_quantity":999999999,"options":[{"name":"Color","value":"Rose Red"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":1};
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":"ba847f58-ec21-43be-a1d5-b3ff637833a0","product_id":"f18cfd68-4fe1-4f51-804f-f5a208bac65d","title":"Rose Red-S","weight_unit":"kg","inventory_quantity":419,"sku":"BL2304102804-Rose Red-S","barcode":"","position":5,"option1":"Rose Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e34c79b76ddc82ba7c53375b7f934417.jpeg","path":"e34c79b76ddc82ba7c53375b7f934417.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.85,"min_quantity":1}],"weight":"0.43","compare_at_price":"49.5","price":"38.85","retail_price":"49.5","available":true,"url":"\/products\/v-neck-long-sleeves-bohemian-dress?variant=ba847f58-ec21-43be-a1d5-b3ff637833a0","available_quantity":999999999,"options":[{"name":"Color","value":"Rose Red"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":1};
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 `
`;
}()}