Casual Tie-dye Printed Maxi Dress
${function() {
const variantData = data.variant || {"id":"111ddf7e-1576-4343-b306-e3fad8caf1f3","product_id":"4b1930da-cf53-4b48-a444-341eba5f9d20","title":"Yellow-S","weight_unit":"kg","inventory_quantity":9956,"sku":"BL2304102826-Yellow-S","barcode":"","position":9,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/720c56636133355d28aba6d9983c9083.jpeg","path":"720c56636133355d28aba6d9983c9083.jpeg","width":544,"height":681,"alt":"","aspect_ratio":0.7988252569750367},"wholesale_price":[{"price":27.17,"min_quantity":1}],"weight":"0.3","compare_at_price":"33","price":"27.17","retail_price":"33","available":true,"url":"\/products\/casual-tie-dye-printed-maxi-dress?variant=111ddf7e-1576-4343-b306-e3fad8caf1f3","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":18,"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":"111ddf7e-1576-4343-b306-e3fad8caf1f3","product_id":"4b1930da-cf53-4b48-a444-341eba5f9d20","title":"Yellow-S","weight_unit":"kg","inventory_quantity":9956,"sku":"BL2304102826-Yellow-S","barcode":"","position":9,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/720c56636133355d28aba6d9983c9083.jpeg","path":"720c56636133355d28aba6d9983c9083.jpeg","width":544,"height":681,"alt":"","aspect_ratio":0.7988252569750367},"wholesale_price":[{"price":27.17,"min_quantity":1}],"weight":"0.3","compare_at_price":"33","price":"27.17","retail_price":"33","available":true,"url":"\/products\/casual-tie-dye-printed-maxi-dress?variant=111ddf7e-1576-4343-b306-e3fad8caf1f3","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":18,"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 `
`;
}()}