Casual Half High Neck Sweater
${function() {
const variantData = data.variant || {"id":"fc9ab983-5fd8-4e9b-8627-d3062d236187","product_id":"a20265a5-5162-4ffd-a57d-724528a18878","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"20101231-green-s","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95ce621a6ce855a1f33d5bcea5cf7562.jpeg","path":"95ce621a6ce855a1f33d5bcea5cf7562.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.32,"min_quantity":1}],"weight":"0.5","compare_at_price":"36.96","price":"34.32","retail_price":"36.96","available":true,"url":"\/products\/casual-half-high-neck-sweater?variant=fc9ab983-5fd8-4e9b-8627-d3062d236187","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Talla","value":"S"}],"off_ratio":7,"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.