Chic Bubble Sleeves Wrap Dress
${function() {
const variantData = data.variant || {"id":"c7c3673a-d90a-4f36-b63c-b1498c33fbdd","product_id":"12af41ec-296f-4593-9244-785db0f07cf2","title":"Hot Pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303271759-Hot Pink-S","barcode":"","position":6,"option1":"Hot Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c00977c50ef968604471a175f41011cb.png","path":"c00977c50ef968604471a175f41011cb.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=c7c3673a-d90a-4f36-b63c-b1498c33fbdd","available_quantity":999999999,"options":[{"name":"Color","value":"Hot Pink"},{"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":"c7c3673a-d90a-4f36-b63c-b1498c33fbdd","product_id":"12af41ec-296f-4593-9244-785db0f07cf2","title":"Hot Pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303271759-Hot Pink-S","barcode":"","position":6,"option1":"Hot Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c00977c50ef968604471a175f41011cb.png","path":"c00977c50ef968604471a175f41011cb.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=c7c3673a-d90a-4f36-b63c-b1498c33fbdd","available_quantity":999999999,"options":[{"name":"Color","value":"Hot Pink"},{"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 `
`;
}()}