Rarove- Back to school Spring And Autumn New Women's Flat Shoes Ladies Leather Platform Shoes Casual Buckle Shoes Ladies Fashion All-Match Shoes
${function() {
const variantData = data.variant || {"id":"5b4f8de6-1068-4185-8051-6245047fa916","product_id":"ee584619-4f0b-4d8a-971d-997a84b04c56","title":"Black-35","weight_unit":"g","inventory_quantity":987,"sku":"rarove-87496219-black-35","barcode":"","position":1,"option1":"Black","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/910cf7f5dad863178a356457be8b6a8a.jpeg","path":"910cf7f5dad863178a356457be8b6a8a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/2022-spring-and-autumn-new-womens-flat-shoes-ladies-leather-platform-shoes-casual-buckle-shoes-ladies-fashion-all-match-shoes?variant=5b4f8de6-1068-4185-8051-6245047fa916","available_quantity":987,"options":[{"name":"Color","value":"Black"},{"name":"Shoe Size","value":"35"}],"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}
`;
}()}