Rarove- Women Two Piece Set Casual Vacation Solid Sleeveless Round Neck Long Loose Wide Legs Pants Sets With Pockets
${function() {
const variantData = data.variant || {"id":"b60e60ee-5796-40cb-ae5e-303ff57b6f6e","product_id":"b93f714e-0fac-465e-b853-04b0f5299572","title":"Picture Color-S","weight_unit":"g","inventory_quantity":200,"sku":"rarove-38010760-picture-color-s","barcode":"","position":1,"option1":"Picture Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e074bda5246a51ac88d6a274d9af660.jpeg","path":"3e074bda5246a51ac88d6a274d9af660.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/women-two-piece-set-casual-vacation-solid-sleeveless-round-neck-long-loose-wide-legs-pants-sets-with-pockets?variant=b60e60ee-5796-40cb-ae5e-303ff57b6f6e","available_quantity":200,"options":[{"name":"Color","value":"Picture Color"},{"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}
`
}()}
${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}
`;
}()}