Stylish Printed Ramadan Robe Bat Sleeve Long Group
${function() {
const variantData = data.variant || {"id":"ad8db5f1-1857-495a-b480-531f22db3b92","product_id":"13484425-18d7-448c-b259-7987846ac4e0","title":"black-ONE SIZE","weight_unit":"g","inventory_quantity":999,"sku":"1759109776979415042","barcode":"","position":1,"option1":"black","option2":"ONE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a01d4a5e2889c9c73563574a7aabb02f.jpeg","path":"a01d4a5e2889c9c73563574a7aabb02f.jpeg","width":1000,"height":1000,"alt":"ec87883c39bc414acb5382aa718337bb","aspect_ratio":1},"wholesale_price":[{"price":34.73,"min_quantity":1}],"weight":"300","compare_at_price":"69.46","price":"34.73","retail_price":"69.46","available":true,"url":"\/products\/stylish-printed-ramadan-robe-bat-sleeve-long-group?variant=ad8db5f1-1857-495a-b480-531f22db3b92","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"ONE SIZE"}],"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 `
`;
}()}