Sleeveless Knitted Dress
${function() {
const variantData = data.variant || {"id":"5521fa6c-f067-4dfe-b416-c15f06ee5231","product_id":"5e918dd0-a403-4732-96c9-5c16d60ba5c3","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"662308105215-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bfb2e06c0356f9f6ff3995a844be1878.jpeg","path":"bfb2e06c0356f9f6ff3995a844be1878.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":62.86,"min_quantity":1}],"weight":"0.5","compare_at_price":"98.52","price":"62.86","retail_price":"98.52","available":true,"url":"\/products\/sleeveless-knitted-dress?variant=5521fa6c-f067-4dfe-b416-c15f06ee5231","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":0};
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.