Stylish Printed Robe Dress
${function() {
const variantData = data.variant || {"id":"0d3e2808-44a5-49ce-80d3-f3c04e006568","product_id":"8a345f18-fd77-4d04-ad1b-40c8b4983f60","title":"Bare powder-M","weight_unit":"g","inventory_quantity":999,"sku":"1744204493372862465","barcode":"","position":1,"option1":"Bare powder","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2868919410bd19b10d3200008e4ddab.jpeg","path":"d2868919410bd19b10d3200008e4ddab.jpeg","width":1121,"height":1495,"alt":"f0e9d0d48d2e1119041a87fad03f8e06","aspect_ratio":0.7498327759197324},"wholesale_price":[{"price":42.67,"min_quantity":1}],"weight":"300","compare_at_price":"85.34","price":"42.67","retail_price":"85.34","available":true,"url":"\/products\/stylish-printed-robe-dress-rnf8?variant=0d3e2808-44a5-49ce-80d3-f3c04e006568","available_quantity":999999999,"options":[{"name":"Color","value":"Bare powder"},{"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 `
`;
}()}