Women's Solid Color Maxi Dress
${function() {
const variantData = data.variant || {"id":"559dbc4e-0306-4bec-90df-fe3855e0d40a","product_id":"50af72c2-8478-4d95-8fb4-fe75036922c6","title":"Grey-S","weight_unit":"kg","inventory_quantity":9989,"sku":"BL2304183407-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a97f19b1df5969c82e9fc5a1358def3b.jpeg","path":"a97f19b1df5969c82e9fc5a1358def3b.jpeg","width":841,"height":986,"alt":"","aspect_ratio":0.8529411764705882},"wholesale_price":[{"price":29.95,"min_quantity":1}],"weight":"0.35","compare_at_price":"44.8","price":"29.95","retail_price":"44.8","available":true,"url":"\/products\/womens-solid-color-maxi-dress-q4u6?variant=559dbc4e-0306-4bec-90df-fe3855e0d40a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"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":"559dbc4e-0306-4bec-90df-fe3855e0d40a","product_id":"50af72c2-8478-4d95-8fb4-fe75036922c6","title":"Grey-S","weight_unit":"kg","inventory_quantity":9989,"sku":"BL2304183407-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a97f19b1df5969c82e9fc5a1358def3b.jpeg","path":"a97f19b1df5969c82e9fc5a1358def3b.jpeg","width":841,"height":986,"alt":"","aspect_ratio":0.8529411764705882},"wholesale_price":[{"price":29.95,"min_quantity":1}],"weight":"0.35","compare_at_price":"44.8","price":"29.95","retail_price":"44.8","available":true,"url":"\/products\/womens-solid-color-maxi-dress-q4u6?variant=559dbc4e-0306-4bec-90df-fe3855e0d40a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"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 `
`;
}()}