Girlfairy A Line Lace Homecoming Dresses Short Front Long Back Navy Blue Junior Cocktail Dress Blush Pink Hot Fashion High Low Party Dress
${function() {
const variantData = data.variant || {"id":"443d4f67-1a2a-46b2-9bf0-208abd268199","product_id":"1b551fdc-8c6d-4ba6-9f0b-40c3e779c863","title":"burgundy-2","weight_unit":"g","inventory_quantity":100,"sku":"56892327-burgundy-2","barcode":"","position":1,"option1":"burgundy","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/482759224303715df0e1f46e341a0471.jpeg","path":"482759224303715df0e1f46e341a0471.jpeg","width":1000,"height":1000,"alt":"Girlfairy A Line Lace Homecoming Dresses Short Front Long Back Navy Blue Junior Cocktail Dress Blush","aspect_ratio":1},"wholesale_price":[{"price":75,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"75","retail_price":"0","available":true,"url":"\/products\/a-line-lace-homecoming-dresses-short-front-long-back-navy-blue-junior-cocktail-dress-blush-pink-hot-fashion-high-low-party-dress-ubjl?variant=443d4f67-1a2a-46b2-9bf0-208abd268199","available_quantity":999999999,"options":[{"name":"Color","value":"burgundy"},{"name":"US Size","value":"2"}],"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 `
`;
}()}