Rarove--hoco dresses Back to School Spring Fashion Women Sexy Casual Two-Piece Set Suit Sets Bodycon Dress Glitter Off Shoulder Crop Top & Skirt Sets
${function() {
const variantData = data.variant || {"id":"7aa99bf9-e113-465a-bf54-ba88669073e5","product_id":"d83c897d-1adb-4ae9-8540-5d7ed0d86def","title":"Black-S","weight_unit":"g","inventory_quantity":200,"sku":"rarove-42567677-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f290b07871fc22edc0ef1913c0c39668.jpeg","path":"f290b07871fc22edc0ef1913c0c39668.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/2020-spring-fashion-women-sexy-casual-two-piece-set-suit-sets-bodycon-dress-glitter-off-shoulder-crop-top-skirt-sets?variant=7aa99bf9-e113-465a-bf54-ba88669073e5","available_quantity":200,"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}
`;
}()}