RAROVE Women Single Breasted Midi Lace Up Slim Solid Shirt Dress Long Sleeve Elegant Vestidos Femme
${function() {
const variantData = data.variant || {"id":"df755a22-3827-4c62-bd16-0156e237bb37","product_id":"f3fce015-7dc7-4877-b5b7-e4c5972f6647","title":"Apricot-One Size","weight_unit":"g","inventory_quantity":675,"sku":"92165161-apricot-one-size","barcode":"","position":1,"option1":"Apricot","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/097aa19161a20bf6f8c90bf4ff4dd7a6.jpeg","path":"097aa19161a20bf6f8c90bf4ff4dd7a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/women-single-breasted-midi-lace-up-slim-solid-shirt-dress-long-sleeve-elegant-vestidos-femme?variant=df755a22-3827-4c62-bd16-0156e237bb37","available_quantity":675,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"One Size"}],"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}
`;
}()}