Ramadan Floral Print Robe
${function() {
const variantData = data.variant || {"id":"0ba05516-f4a9-4a07-b6c0-e6cc24369e90","product_id":"408d9d33-107a-494b-bebb-7821cee4853f","title":"green-M","weight_unit":"g","inventory_quantity":999,"sku":"1743464288156200962","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d533c06df657d04ceca95008a4808f76.jpeg","path":"d533c06df657d04ceca95008a4808f76.jpeg","width":555,"height":740,"alt":"4187ec7f07e44deb16a75ab235c2e464","aspect_ratio":0.75},"wholesale_price":[{"price":39.86,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"39.86","retail_price":"0","available":true,"url":"\/products\/ramadan-floral-print-robe?variant=0ba05516-f4a9-4a07-b6c0-e6cc24369e90","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"M"}],"off_ratio":0,"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 `
`;
}()}