Exquisite Totem Strappy Dress
${function() {
const variantData = data.variant || {"id":"5426817c-7815-4622-b274-048a266188ed","product_id":"db198bd3-fd87-4ffd-9e88-2cedd3097121","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404269876-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a62d4127aeedc13a35a1ba4fb5f5332c.jpeg","path":"a62d4127aeedc13a35a1ba4fb5f5332c.jpeg","width":1200,"height":1200,"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=5426817c-7815-4622-b274-048a266188ed","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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":"5426817c-7815-4622-b274-048a266188ed","product_id":"db198bd3-fd87-4ffd-9e88-2cedd3097121","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404269876-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a62d4127aeedc13a35a1ba4fb5f5332c.jpeg","path":"a62d4127aeedc13a35a1ba4fb5f5332c.jpeg","width":1200,"height":1200,"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=5426817c-7815-4622-b274-048a266188ed","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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 `
`;
}()}