Girlfairy Back To School Summer Women’s Floal A-Line Dress Sweet Elegant Floral Ruffles V-neck Bandage Short Dress for Lady Chic Flowers Mini Dress
${function() {
const variantData = data.variant || {"id":"665cc93a-f03a-4aaf-9ce2-45548d8d72d4","product_id":"d5b5d17f-f8c2-40a1-b700-c8270113eb5b","title":"Red-S","weight_unit":"g","inventory_quantity":457,"sku":"42379927-red-s","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bddef4d8385b9aa256758b7eadb8e9ed.jpeg","path":"bddef4d8385b9aa256758b7eadb8e9ed.jpeg","width":668,"height":1000,"alt":"Girlfairy Back To School Summer Womens Floal A-Line Dress Sweet Elegant Floral Ruffles V-Neck","aspect_ratio":0.668},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/summer-women-s-floal-a-line-dress-sweet-elegant-floral-ruffles-v-neck-bandage-short-dress-for-lady-chic-flowers-mini-dress-m0k8?variant=665cc93a-f03a-4aaf-9ce2-45548d8d72d4","available_quantity":457,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"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.
15 Days Return,100%Money Back
7*24h Service at:support@Girlfairy.com
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
${function() {
const postageFreeAmount = 35;
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 `
`;
}()}