Boho Style Puff Sleeves Dress
${function() {
const variantData = data.variant || {"id":"1876f8a6-1317-48b5-b775-94378cac8ab9","product_id":"3a33d888-9fb5-4b25-bba7-3d73bf99cf2b","title":"Pattern 3-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230509894-Pattern 3-S","barcode":"","position":13,"option1":"Pattern 3","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80a1fe6cd6305f7d4acf950619ca1822.jpeg","path":"80a1fe6cd6305f7d4acf950619ca1822.jpeg","width":760,"height":760,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.55,"min_quantity":1}],"weight":"0.22","compare_at_price":"51.52","price":"35.55","retail_price":"51.52","available":true,"url":"\/products\/boho-style-puff-sleeves-dress-ujm2-b6fr?variant=1876f8a6-1317-48b5-b775-94378cac8ab9","available_quantity":999999999,"options":[{"name":"Color","value":"Pattern 3"},{"name":"Size","value":"S"}],"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":"1876f8a6-1317-48b5-b775-94378cac8ab9","product_id":"3a33d888-9fb5-4b25-bba7-3d73bf99cf2b","title":"Pattern 3-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230509894-Pattern 3-S","barcode":"","position":13,"option1":"Pattern 3","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80a1fe6cd6305f7d4acf950619ca1822.jpeg","path":"80a1fe6cd6305f7d4acf950619ca1822.jpeg","width":760,"height":760,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.55,"min_quantity":1}],"weight":"0.22","compare_at_price":"51.52","price":"35.55","retail_price":"51.52","available":true,"url":"\/products\/boho-style-puff-sleeves-dress-ujm2-b6fr?variant=1876f8a6-1317-48b5-b775-94378cac8ab9","available_quantity":999999999,"options":[{"name":"Color","value":"Pattern 3"},{"name":"Size","value":"S"}],"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 `
`;
}()}