Rarove-Color Block Knit Cardigan Chunky Lilac & Yellow & Green V-Neck Button Up Crop Sweater Y2K 90s Aesthetic Clothes
${function() {
const variantData = data.variant || {"id":"aabda2b1-9808-413c-96e4-c87f060d9f1e","product_id":"426206bb-41c6-4482-8697-992828af1c55","title":"","weight_unit":"g","inventory_quantity":900,"sku":"rarove49983646-one-size-multi","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":42.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"42.55","retail_price":"0","available":true,"url":"\/products\/color-block-knit-cardigan-chunky-lilac-amp-yellow-amp-green-v-neck-button-up-crop-sweater-y2k-90s-aesthetic-clothes?variant=aabda2b1-9808-413c-96e4-c87f060d9f1e","available_quantity":900,"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}
`;
}()}