Stylish Leopard Print Dress Robe
${function() {
const variantData = data.variant || {"id":"6a8480d7-84b5-46f2-9822-07a0465e91fd","product_id":"de4e0daa-3281-45ad-951e-4a86795a0eea","title":"Leopard-M","weight_unit":"g","inventory_quantity":999,"sku":"1743149481758633986","barcode":"","position":1,"option1":"Leopard","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/838a3c76c7929f908a0fabea03d098ac.jpeg","path":"838a3c76c7929f908a0fabea03d098ac.jpeg","width":610,"height":813,"alt":"f863b6d9e7efda1d6605a7d1f77e11b6","aspect_ratio":0.7503075030750308},"wholesale_price":[{"price":45.84,"min_quantity":1}],"weight":"300","compare_at_price":"91.68","price":"45.84","retail_price":"91.68","available":true,"url":"\/products\/stylish-leopard-print-dress-robe-xbq5?variant=6a8480d7-84b5-46f2-9822-07a0465e91fd","available_quantity":999999999,"options":[{"name":"Color","value":"Leopard"},{"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 `
`;
}()}