Rarove-Fall Outfits Women Fashion Single-Breasted Patchwork Yin And Yang Blazer Coat Vintage Long Sleeve Pockets Female Outerwear Chic Tops
${function() {
const variantData = data.variant || {"id":"72b9f95c-7adc-44e0-b148-e06b70adbab6","product_id":"c62b58f7-6b8d-4617-83ac-f3d64d1d7123","title":"S","weight_unit":"g","inventory_quantity":199,"sku":"rarove74193998-sS","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56219c6aea334814fb18388665738a83.jpeg","path":"56219c6aea334814fb18388665738a83.jpeg","width":1080,"height":1347,"alt":"","aspect_ratio":0.8017817371937639},"wholesale_price":[{"price":52.23,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.23","retail_price":"0","available":true,"url":"\/products\/2021-women-fashion-single-breasted-patchwork-yin-and-yang-blazer-coat-vintage-long-sleeve-pockets-female-outerwear-chic-tops?variant=72b9f95c-7adc-44e0-b148-e06b70adbab6","available_quantity":199,"options":[{"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}
`
}()}
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}
`;
}()}