Stylish Ramadan Abaya Dress
${function() {
const variantData = data.variant || {"id":"9848ed5f-137b-4e4e-8069-adbc68aad2ad","product_id":"51f4feb8-5c2f-4736-9032-113350cf5266","title":"light green-M","weight_unit":"g","inventory_quantity":999,"sku":"1754690802004602882","barcode":"","position":1,"option1":"light green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b686a8d108d2dcc0470c209ebfad04b8.jpeg","path":"b686a8d108d2dcc0470c209ebfad04b8.jpeg","width":1346,"height":1794,"alt":"11c117e0cc182bfc52785622d94af828","aspect_ratio":0.750278706800446},"wholesale_price":[{"price":50.16,"min_quantity":1}],"weight":"300","compare_at_price":"100.32","price":"50.16","retail_price":"100.32","available":true,"url":"\/products\/stylish-ramadan-abaya-dress-rm9x?variant=9848ed5f-137b-4e4e-8069-adbc68aad2ad","available_quantity":999999999,"options":[{"name":"Color","value":"light green"},{"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 `
`;
}()}