Fashionable Fantasy Color Maxi Dress
${function() {
const variantData = data.variant || {"id":"031c35db-d323-442f-8279-7e29c4827f65","product_id":"f191aa45-393c-4588-be32-d1282bcc3d16","title":"Green-S","weight_unit":"","inventory_quantity":0,"sku":"6624010312628-Green-S","barcode":"","position":6,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3918ceaa3a5bcdf008d61db28d526946.jpeg","path":"3918ceaa3a5bcdf008d61db28d526946.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":64.8,"min_quantity":1}],"weight":"0","compare_at_price":"94.5","price":"64.8","retail_price":"94.5","available":true,"url":"\/products\/fashionable-fantasy-color-maxi-dress-lkp0?variant=031c35db-d323-442f-8279-7e29c4827f65","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":31,"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":"031c35db-d323-442f-8279-7e29c4827f65","product_id":"f191aa45-393c-4588-be32-d1282bcc3d16","title":"Green-S","weight_unit":"","inventory_quantity":0,"sku":"6624010312628-Green-S","barcode":"","position":6,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3918ceaa3a5bcdf008d61db28d526946.jpeg","path":"3918ceaa3a5bcdf008d61db28d526946.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":64.8,"min_quantity":1}],"weight":"0","compare_at_price":"94.5","price":"64.8","retail_price":"94.5","available":true,"url":"\/products\/fashionable-fantasy-color-maxi-dress-lkp0?variant=031c35db-d323-442f-8279-7e29c4827f65","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":31,"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 `
`;
}()}