Rarove-Fall Outfits Summer Women Solid Fashion Blue Denim Shirt Vintage Ruffled Long Sleeve Single-Breasted Lapel Female Short Blouse Chic Top
${function() {
const variantData = data.variant || {"id":"4ab7cbe2-e4e4-4a4a-b9e5-07154c9cd54f","product_id":"459552e8-2035-4acc-861e-f0af7cda7ff4","title":"XS","weight_unit":"g","inventory_quantity":200,"sku":"rarove27609395-xsXS","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a74f5c35ffa6bf979b9d3de7ca2a24c4.jpeg","path":"a74f5c35ffa6bf979b9d3de7ca2a24c4.jpeg","width":1024,"height":1536,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":33.7,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.7","retail_price":"0","available":true,"url":"\/products\/summer-women-solid-fashion-blue-denim-shirt-vintage-ruffled-long-sleeve-single-breasted-lapel-female-short-blouse-chic-top-22604?variant=4ab7cbe2-e4e4-4a4a-b9e5-07154c9cd54f","available_quantity":200,"options":[{"name":"Size","value":"XS"}],"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}
`;
}()}