Temperament Round Neck Knitted Dress Two-Piece Set
${function() {
const variantData = data.variant || {"id":"b265ca13-b589-465d-b23a-973d895136ba","product_id":"d4d424e8-494b-48a5-87a1-67b87c2221fa","title":"apricot-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210922817-apricot-L","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b5a58a85089a9760cf5b11dcb0335ff.jpeg","path":"0b5a58a85089a9760cf5b11dcb0335ff.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63.44,"min_quantity":1}],"weight":"0","compare_at_price":"70.66","price":"63.44","retail_price":"70.66","available":true,"url":"\/products\/temperament-round-neck-knitted-dress-two-piece-suit?variant=b265ca13-b589-465d-b23a-973d895136ba","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"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.