Rarove Cut It Out Backless Slip Midi Dress For Women Elegant Fashion Sleeveless Solid Club Party Dresses Clothes
${function() {
const variantData = data.variant || {"id":"561e5692-63d6-4933-a9ff-9da7a1fe9045","product_id":"10899f32-0ef5-4c0d-80d4-95c2d760fe29","title":"black-S","weight_unit":"g","inventory_quantity":9994,"sku":"13396183-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8890e5e6e33b419561215252ae0d1553.jpeg","path":"8890e5e6e33b419561215252ae0d1553.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.77,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.77","retail_price":"0","available":true,"url":"\/products\/cut-it-out-sexy-backless-slip-midi-dress-for-women-elegant-fashion-sleeveless-solid-club-party-dresses-clothes?variant=561e5692-63d6-4933-a9ff-9da7a1fe9045","available_quantity":9994,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"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.
${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}
`;
}()}