Exquisite Totem Strappy Dress
${function() {
const variantData = data.variant || {"id":"ce01b7ff-838c-423e-a0dc-15d6d506cb06","product_id":"db198bd3-fd87-4ffd-9e88-2cedd3097121","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLK2404269876-White-S","barcode":"","position":4,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e57b13dec76375bfd726f677070d34ec.jpeg","path":"e57b13dec76375bfd726f677070d34ec.jpeg","width":1064,"height":1064,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.35,"min_quantity":1}],"weight":"220","compare_at_price":"55","price":"47.35","retail_price":"55","available":true,"url":"\/products\/exquisite-totem-strappy-dress?variant=ce01b7ff-838c-423e-a0dc-15d6d506cb06","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":14,"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 variantData = data.variant || {"id":"ce01b7ff-838c-423e-a0dc-15d6d506cb06","product_id":"db198bd3-fd87-4ffd-9e88-2cedd3097121","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLK2404269876-White-S","barcode":"","position":4,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e57b13dec76375bfd726f677070d34ec.jpeg","path":"e57b13dec76375bfd726f677070d34ec.jpeg","width":1064,"height":1064,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.35,"min_quantity":1}],"weight":"220","compare_at_price":"55","price":"47.35","retail_price":"55","available":true,"url":"\/products\/exquisite-totem-strappy-dress?variant=ce01b7ff-838c-423e-a0dc-15d6d506cb06","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}