Elegant Open-Shoulder Top & One-Piece Skirt Two-Piece Set
${function() {
const variantData = data.variant || {"id":"fe8a2899-47bc-4702-961d-042f91436d85","product_id":"0493bdd0-2483-4564-b1fc-bffce7eac8b6","title":"Champagne-XS","weight_unit":"kg","inventory_quantity":0,"sku":"MM2404077384-Champagne-XS","barcode":"","position":1,"option1":"Champagne","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4151bc062d1be2a3c4c30a3027fb1f1.jpeg","path":"b4151bc062d1be2a3c4c30a3027fb1f1.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":49.38,"min_quantity":1}],"weight":"0.5","compare_at_price":"66.38","price":"49.38","retail_price":"66.38","available":true,"url":"\/products\/elegant-open-shoulder-top-one-piece-skirt-two-piece-set?variant=fe8a2899-47bc-4702-961d-042f91436d85","available_quantity":999999999,"options":[{"name":"color","value":"Champagne"},{"name":"size","value":"XS"}],"off_ratio":26,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minDays = parseInt('8');
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 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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.