Chic Bubble Sleeves Wrap Dress
${function() {
const variantData = data.variant || {"id":"bf7c4ae2-7a82-42be-9480-4639d45cd1fc","product_id":"12af41ec-296f-4593-9244-785db0f07cf2","title":"Aqua-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303271759-Aqua-S","barcode":"","position":2,"option1":"Aqua","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a16e9605fea77d1dca93f1219b3b3fe5.png","path":"a16e9605fea77d1dca93f1219b3b3fe5.png","width":739,"height":900,"alt":"","aspect_ratio":0.8211111111111111},"wholesale_price":[{"price":43.65,"min_quantity":1}],"weight":"0.4","compare_at_price":"61.6","price":"43.65","retail_price":"61.6","available":true,"url":"\/products\/chic-bubble-sleeves-wrap-dress-3p2m?variant=bf7c4ae2-7a82-42be-9480-4639d45cd1fc","available_quantity":999999999,"options":[{"name":"Color","value":"Aqua"},{"name":"Size","value":"S"}],"off_ratio":29,"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":"bf7c4ae2-7a82-42be-9480-4639d45cd1fc","product_id":"12af41ec-296f-4593-9244-785db0f07cf2","title":"Aqua-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303271759-Aqua-S","barcode":"","position":2,"option1":"Aqua","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a16e9605fea77d1dca93f1219b3b3fe5.png","path":"a16e9605fea77d1dca93f1219b3b3fe5.png","width":739,"height":900,"alt":"","aspect_ratio":0.8211111111111111},"wholesale_price":[{"price":43.65,"min_quantity":1}],"weight":"0.4","compare_at_price":"61.6","price":"43.65","retail_price":"61.6","available":true,"url":"\/products\/chic-bubble-sleeves-wrap-dress-3p2m?variant=bf7c4ae2-7a82-42be-9480-4639d45cd1fc","available_quantity":999999999,"options":[{"name":"Color","value":"Aqua"},{"name":"Size","value":"S"}],"off_ratio":29,"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 `
`;
}()}