Temperament Pullover Knitted Sling Dress Set
${function() {
const variantData = data.variant || {"id":"7866d418-6f80-4a07-bea4-5b1b2c638870","product_id":"74413f83-6c7c-4cc2-8f69-8181f502d98e","title":"black-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210918624-black-L","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e4186f15829bff1baa40856ed7ebe90.jpeg","path":"3e4186f15829bff1baa40856ed7ebe90.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.99,"min_quantity":1}],"weight":"0","compare_at_price":"63.48","price":"56.99","retail_price":"63.48","available":true,"url":"\/products\/temperament-pullover-knitted-sling-dress-suit?variant=7866d418-6f80-4a07-bea4-5b1b2c638870","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.