High Neck Side Slit Irregular Top
${function() {
const variantData = data.variant || {"id":"2fb3a6a5-7b5d-46ca-8fa8-d84d2584654e","product_id":"2ea1aa4a-03c8-4a80-8416-81020e6f1a84","title":"Black-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102415-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/669bfb464aa240eb11bf58f83fb1368f.jpeg","path":"669bfb464aa240eb11bf58f83fb1368f.jpeg","width":450,"height":563,"alt":"","aspect_ratio":0.7992895204262878},"wholesale_price":[{"price":37.65,"min_quantity":1}],"weight":"0","compare_at_price":"42.04","price":"37.65","retail_price":"42.04","available":true,"url":"\/products\/high-neck-thin-knitted-irregular-top?variant=2fb3a6a5-7b5d-46ca-8fa8-d84d2584654e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":10,"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.