Rarove Back to school supplies 2 Size Rainbow School Backpacks Suitable Cartoons School Bags For Girls Schoolbag Grades 1-6 Women Travel Bag Backpack
${function() {
const variantData = data.variant || {"id":"cd622583-e7df-489f-a8e6-53dbf04e670e","product_id":"296e3924-e7b7-4237-afef-0136da958dd7","title":"L black","weight_unit":"g","inventory_quantity":35,"sku":"53937862-l-black","barcode":"","position":1,"option1":"L black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5313cbf1e5be78311dde9b03d1cba6e0.jpeg","path":"5313cbf1e5be78311dde9b03d1cba6e0.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/2-size-rainbow-school-backpacks-suitable-cartoons-school-bags-for-teenager-girls-schoolbag-grades-1-6-women-travel-bag-backpack?variant=cd622583-e7df-489f-a8e6-53dbf04e670e","available_quantity":35,"options":[{"name":"Color","value":"L black"}],"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}
`;
}()}