Bandana-style bandeau print shirt drape pants set
${function() {
const variantData = data.variant || {"id":"5272dfb8-ced8-4804-befb-1a7e074681b8","product_id":"4fcc2c23-85f6-4070-bb2b-1bf3589be7da","title":"tube top-XS","weight_unit":"kg","inventory_quantity":0,"sku":"662305301911-tube top-XS","barcode":"","position":1,"option1":"tube top","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a16eea3289d80f33af3c4f14259cf5ef.jpeg","path":"a16eea3289d80f33af3c4f14259cf5ef.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0.3","compare_at_price":"29","price":"25","retail_price":"29","available":true,"url":"\/products\/bandana-style-bandeau-print-shirt-drape-pants-set?variant=5272dfb8-ced8-4804-befb-1a7e074681b8","available_quantity":999999999,"options":[{"name":"type","value":"tube top"},{"name":"size","value":"XS"}],"off_ratio":14,"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.