Rarove-Women Elegant Knitted Jacket Cardigans Autumn Warm Women Sweater Solid Color Batwing Sleeve Oversized Women Loose Long Cardigans
${function() {
const variantData = data.variant || {"id":"b68e7c35-04eb-478a-8031-b9447c89e939","product_id":"15453b45-3f11-4300-973e-f4b5aa109a7e","title":"One Size-Khaki","weight_unit":"g","inventory_quantity":996,"sku":"rarove-rarove-49518096-one-size-khaki","barcode":"","position":1,"option1":"One Size","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d11336f711cc4a4e536bd6cc0eeda57a.jpeg","path":"d11336f711cc4a4e536bd6cc0eeda57a.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.55","retail_price":"0","available":true,"url":"\/products\/women-elegant-knitted-jacket-cardigans-autumn-warm-women-sweater-solid-color-batwing-sleeve-oversized-women-loose-long-cardigans?variant=b68e7c35-04eb-478a-8031-b9447c89e939","available_quantity":996,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"Khaki"}],"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}
`;
}()}