Rarove Women Fashion Floral Print Camis Vintage Square Collar Short Crop Top Female Summer Tank Tops Blusas Chic Tops
${function() {
const variantData = data.variant || {"id":"08ba2943-17ce-41e2-b487-03aaec6fe88e","product_id":"cb1ed440-6c88-4c99-a9fe-68cff20baad8","title":"S","weight_unit":"g","inventory_quantity":200,"sku":"19745794-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce48e6747638f2eefe5e54560f9ae903.jpeg","path":"ce48e6747638f2eefe5e54560f9ae903.jpeg","width":900,"height":1350,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.03,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.03","retail_price":"0","available":true,"url":"\/products\/women-fashion-floral-print-camis-vintage-square-collar-short-crop-top-female-summer-tank-tops-blusas-chic-tops-1?variant=08ba2943-17ce-41e2-b487-03aaec6fe88e","available_quantity":200,"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}
`;
}()}