Rarove-Cute Vintage Thick Twisted Office Lady Tops Loose Apricot Elegant Pullovers Girls High Street Knitted Casual Sweater-1
${function() {
const variantData = data.variant || {"id":"797f2a20-be6d-4157-b57d-5ee43f28ef96","product_id":"f3f0d66d-404a-42ab-bb8a-a8876579a2c1","title":"","weight_unit":"g","inventory_quantity":327,"sku":"rarove-rarove-29918147-one-size-photo-color","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":43.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"43.58","retail_price":"0","available":true,"url":"\/products\/cute-vintage-thick-twisted-office-lady-tops-loose-apricot-elegant-pullovers-girls-high-street-knitted-casual-sweater-1?variant=797f2a20-be6d-4157-b57d-5ee43f28ef96","available_quantity":327,"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}
`;
}()}