Rarove- Back to School Fashion Two-Piece Set Casual Wear Suits Set Ribbed Zipper Design Crop Top & Cutout Pants Set
${function() {
const variantData = data.variant || {"id":"7a41392a-9378-454e-8509-f847a06fef14","product_id":"0e1e9478-2212-4f23-a8f9-8ef46a61e5a6","title":"Army Green-S","weight_unit":"g","inventory_quantity":200,"sku":"rarove-58854518-army-green-s","barcode":"","position":1,"option1":"Army Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/585bf985c531abb60c5ce0cd7328d817.jpeg","path":"585bf985c531abb60c5ce0cd7328d817.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":44.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"44.99","retail_price":"0","available":true,"url":"\/products\/fashion-two-piece-set-casual-wear-suits-set-ribbed-zipper-design-crop-top-cutout-pants-set?variant=7a41392a-9378-454e-8509-f847a06fef14","available_quantity":200,"options":[{"name":"Color","value":"Army Green"},{"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}
`;
}()}