Fashion cross neck, off-the-shoulder loose knit
${function() {
const variantData = data.variant || {"id":"cd6449e2-eae4-4b1b-beac-7f081fb8c678","product_id":"b2fff640-b286-4543-8806-35b58be7ced7","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019320-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae602599dc6344bcf90aac555605393a.jpeg","path":"ae602599dc6344bcf90aac555605393a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":58.13,"min_quantity":1}],"weight":"0.52","compare_at_price":"65.54","price":"58.13","retail_price":"65.54","available":true,"url":"\/products\/fashion-cross-neck-off-the-shoulder-loose-knit?variant=cd6449e2-eae4-4b1b-beac-7f081fb8c678","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"one size"}],"off_ratio":11,"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.