Stylish Printed Ramadan Abaya Dress
${function() {
const variantData = data.variant || {"id":"0a8c86b4-c1f2-41e8-93a7-c2306d52d3f1","product_id":"9624f0ff-178c-422b-bc46-61bcd16a6e83","title":"Royal blue-M","weight_unit":"g","inventory_quantity":999,"sku":"1763771631471579137","barcode":"","position":1,"option1":"Royal blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d501e49874eb4f76b28d02a2ca511a9.jpeg","path":"4d501e49874eb4f76b28d02a2ca511a9.jpeg","width":604,"height":806,"alt":"e1f17f21427112bb8bd55abd4406c27c","aspect_ratio":0.749379652605459},"wholesale_price":[{"price":46.12,"min_quantity":1}],"weight":"300","compare_at_price":"92.24","price":"46.12","retail_price":"92.24","available":true,"url":"\/products\/stylish-printed-ramadan-abaya-dress-30el?variant=0a8c86b4-c1f2-41e8-93a7-c2306d52d3f1","available_quantity":999999999,"options":[{"name":"Color","value":"Royal blue"},{"name":"Size","value":"M"}],"off_ratio":50,"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 postageFreeAmount = 109;
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 `
`;
}()}