Rarove Streetwear Print Elastic White Tshirt Women Summer O Neck Short Sleeve Tops Casual Ladies Tee
${function() {
const variantData = data.variant || {"id":"6279c075-8979-4451-a920-5ec1b2d3cf2e","product_id":"aeca7342-0e00-4182-afee-3d5e92b09b53","title":"S","weight_unit":"g","inventory_quantity":200,"sku":"02826901-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b9a0262b16467a306ae1e92ff125378.jpeg","path":"6b9a0262b16467a306ae1e92ff125378.jpeg","width":960,"height":1450,"alt":"","aspect_ratio":0.6620689655172414},"wholesale_price":[{"price":23.7,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.7","retail_price":"0","available":true,"url":"\/products\/streetwear-print-elastic-white-tshirt-women-summer-o-neck-short-sleeve-tops-casual-ladies-tee?variant=6279c075-8979-4451-a920-5ec1b2d3cf2e","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}
`;
}()}