RAROVE Fashion Autumn Spring Two Piece Set Women Tracksuits Harajuku Sweatshirts Elastic Waist Sweatshirt Suti
${function() {
const variantData = data.variant || {"id":"e0a5c033-cc85-4c06-95f2-d5929ac2522f","product_id":"b30ba602-9890-4a25-91f3-582d6d7f07a5","title":"Blue-S","weight_unit":"g","inventory_quantity":200,"sku":"46407085-blue-s","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd2cb83bfc6b8c6ee2652e99b11dcd75.jpeg","path":"cd2cb83bfc6b8c6ee2652e99b11dcd75.jpeg","width":685,"height":685,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"55.99","retail_price":"0","available":true,"url":"\/products\/fashion-autumn-spring-two-piece-set-women-tracksuits-harajuku-sweatshirts-elastic-waist-sweatshirt-suti?variant=e0a5c033-cc85-4c06-95f2-d5929ac2522f","available_quantity":200,"options":[{"name":"Color","value":"Blue"},{"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}
`;
}()}