Stylish Firouze Moroccan Robe
${function() {
const variantData = data.variant || {"id":"de582726-20d0-4c23-991c-7381feb9fc70","product_id":"08f11a4f-c3d5-4087-a645-8a64cf1dfc2b","title":"Royal blue-M","weight_unit":"g","inventory_quantity":999,"sku":"1752953773250465794","barcode":"","position":1,"option1":"Royal blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b6e0eee01528d6ea89182d6f9e0a339.jpeg","path":"6b6e0eee01528d6ea89182d6f9e0a339.jpeg","width":1327,"height":1770,"alt":"328b849c0488ca3613db4139bccec857","aspect_ratio":0.7497175141242938},"wholesale_price":[{"price":40.32,"min_quantity":1}],"weight":"300","compare_at_price":"80.64","price":"40.32","retail_price":"80.64","available":true,"url":"\/products\/stylish-firouze-moroccan-robe?variant=de582726-20d0-4c23-991c-7381feb9fc70","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 `
`;
}()}