Rarove-Fall Outfits -Argyle Cardigan Green & Black Fuzzy Oversized V-Neck Long Sleeve Button Up Cropped Knit Top Fall Winter Women Y2K e-Girls /
${function() {
const variantData = data.variant || {"id":"9d7eb597-b82f-45b8-bc2e-e0210e72ef9e","product_id":"0641d856-6eb6-4538-b9b4-549e91d879f0","title":"","weight_unit":"g","inventory_quantity":890,"sku":"rarove49712951-one-size-green-and-blackDefault Title","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":48.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.55","retail_price":"0","available":true,"url":"\/products\/argyle-cardigan-green-amp-black-fuzzy-oversized-v-neck-long-sleeve-button-up-cropped-knit-top-fall-winter-women-y2k-e-girls?variant=9d7eb597-b82f-45b8-bc2e-e0210e72ef9e","available_quantity":890,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
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}
`;
}()}