Girlfairy 2024 Womens Dresses Autumn Fashion Print Zipper Pocket Design Casual Round Neck Daily Midi Dress With Belt
${function() {
const variantData = data.variant || {"id":"4456eb0e-0bcf-42b0-91e5-9ccafb9619d2","product_id":"2c38c5b2-f816-4883-8ccc-0ca865ff2784","title":"Yellow-3XL","weight_unit":"lb","inventory_quantity":600,"sku":"Girlfairy2024-07-2314:366;5:4183#3XL","barcode":"","position":1,"option1":"Yellow","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8b8dc9621c56b21d2fe360e1d22ba0c.jpeg","path":"e8b8dc9621c56b21d2fe360e1d22ba0c.jpeg","width":800,"height":1000,"alt":"45132626657527|45132626690295|45132626723063|45132626755831|45132626788599|45132626886903","aspect_ratio":0.8},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/2024-womens-dresses-autumn-fashion-print-zipper-pocket-design-casual-round-neck-daily-midi-dress-with-belt?variant=4456eb0e-0bcf-42b0-91e5-9ccafb9619d2","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"3XL"}],"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 `
`;
}()}