Chic Oil Painting Slip Dress
${function() {
const variantData = data.variant || {"id":"976363ae-e6d1-430a-8c15-1475ff511ae1","product_id":"9cf5e3d4-701c-4f5c-bfbc-a3abf3790636","title":"As-It-XS","weight_unit":"kg","inventory_quantity":916,"sku":"BL2304203626-As-It-XS","barcode":"","position":1,"option1":"As-It","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a86657110e2b162c3751f4880e12977c.jpeg","path":"a86657110e2b162c3751f4880e12977c.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.79,"min_quantity":1}],"weight":"0","compare_at_price":"49.5","price":"31.79","retail_price":"49.5","available":true,"url":"\/products\/chic-oil-painting-slip-dress?variant=976363ae-e6d1-430a-8c15-1475ff511ae1","available_quantity":999999999,"options":[{"name":"Color","value":"As-It"},{"name":"Size","value":"XS"}],"off_ratio":36,"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":"976363ae-e6d1-430a-8c15-1475ff511ae1","product_id":"9cf5e3d4-701c-4f5c-bfbc-a3abf3790636","title":"As-It-XS","weight_unit":"kg","inventory_quantity":916,"sku":"BL2304203626-As-It-XS","barcode":"","position":1,"option1":"As-It","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a86657110e2b162c3751f4880e12977c.jpeg","path":"a86657110e2b162c3751f4880e12977c.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.79,"min_quantity":1}],"weight":"0","compare_at_price":"49.5","price":"31.79","retail_price":"49.5","available":true,"url":"\/products\/chic-oil-painting-slip-dress?variant=976363ae-e6d1-430a-8c15-1475ff511ae1","available_quantity":999999999,"options":[{"name":"Color","value":"As-It"},{"name":"Size","value":"XS"}],"off_ratio":36,"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 `
`;
}()}