Cotton linen backless short sleeves dress
${function() {
const variantData = data.variant || {"id":"5a516fb2-1678-431d-b409-a3a564360e27","product_id":"5054a643-2fa4-4f64-804d-c84bbcd1f4cb","title":"brown-L","weight_unit":"kg","inventory_quantity":0,"sku":"Lin0922105191-brown-L","barcode":"","position":1,"option1":"brown","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e832904a924f50fd2131c65394122fbf.jpeg","path":"e832904a924f50fd2131c65394122fbf.jpeg","width":600,"height":664,"alt":"","aspect_ratio":0.9036144578313253},"wholesale_price":[{"price":29.88,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"29.88","retail_price":"49","available":true,"url":"\/products\/cotton-linen-backless-short-sleeves-dress?variant=5a516fb2-1678-431d-b409-a3a564360e27","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"L"}],"off_ratio":39,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minDays = parseInt('8');
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}
`;
}()}
${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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.