Rarove-Velvet 2 Pieces Letter Rhinestone Tube Crop Top Casual Shorts Set Loose Casual Home Women 2024 Summer Clothes Tracksuit
${function() {
const variantData = data.variant || {"id":"70991623-62f9-4c1a-816f-cba8f4905616","product_id":"3e999059-0fcf-4ff3-8954-2194d8273115","title":"black-M","weight_unit":"g","inventory_quantity":298,"sku":"rarove46143439-black-m","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6dd3aee21a141db91bc0e08664a6b786.jpeg","path":"6dd3aee21a141db91bc0e08664a6b786.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.55","retail_price":"0","available":true,"url":"\/products\/dulzura-velvet-2-pieces-letter-rhinestone-tube-crop-top-casual-shorts-set-loose-casual-home-women-2021-summer-clothes-tracksuit?variant=70991623-62f9-4c1a-816f-cba8f4905616","available_quantity":298,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"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}
`;
}()}