Girlfairy 2024 Summer Vacation Elegant Backless Square Neck Long Dress Sexy Lace Up High Waist Slim Dresses Lady Holiday Beachwear
${function() {
const variantData = data.variant || {"id":"50b8748d-3df1-448a-94bc-444e445ee013","product_id":"d17b064f-97fb-4a75-a238-724688064280","title":"Yellow-L","weight_unit":"lb","inventory_quantity":999,"sku":"Girlfairy2024-07-1014:771#Yellow;5:361385","barcode":"","position":1,"option1":"Yellow","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba5679f526216486d7ec8018e72fed2e.jpeg","path":"ba5679f526216486d7ec8018e72fed2e.jpeg","width":750,"height":1000,"alt":"45093605834999|45093605867767|45093605900535","aspect_ratio":0.75},"wholesale_price":[{"price":38.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.88","retail_price":"0","available":true,"url":"\/products\/2024-summer-vacation-elegant-backless-square-neck-long-dress-sexy-lace-up-high-waist-slim-dresses-lady-holiday-beachwear?variant=50b8748d-3df1-448a-94bc-444e445ee013","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"L"}],"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 `
`;
}()}