Girlfairy Dresses For Women Summer Sling Vest Fold Bag Hip Dress Two-piece Temperament Commuter Dress Suit
${function() {
const variantData = data.variant || {"id":"a22894d9-9c73-4b4a-980b-f82aa1cbc06c","product_id":"a9e24a16-5bdb-4ab2-8ae0-9c213ba52247","title":"Black-S-US","weight_unit":"g","inventory_quantity":100,"sku":"90905647-black-s-cn","barcode":"","position":1,"option1":"Black","option2":"S","option3":"US","note":"","image":{"src":"\/\/img.staticdj.com\/ca7626764e097060e11982f01b1fe7ba.jpeg","path":"ca7626764e097060e11982f01b1fe7ba.jpeg","width":1000,"height":1000,"alt":"Girlfairy Dresses For Women Summer Sling Vest Fold Bag Hip Dress Two-Piece Temperament Commuter Suit","aspect_ratio":1},"wholesale_price":[{"price":27.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.88","retail_price":"0","available":true,"url":"\/products\/dresses-for-women-summer-sling-vest-fold-bag-hip-dress-two-piece-temperament-commuter-dress-suit?variant=a22894d9-9c73-4b4a-980b-f82aa1cbc06c","available_quantity":100,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"},{"name":"Ships From","value":"US"}],"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}
`
}()}
${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 `
`;
}()}