Temperament Double-Sided Jacquard Sweater Two-Piece Set
${function() {
const variantData = data.variant || {"id":"c9ec8b7c-acea-4beb-b147-4e072cbc4388","product_id":"0d41f319-5ebd-4e2a-9c5f-46e434e90c4c","title":"balck-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109101075-balck-L","barcode":"","position":1,"option1":"balck","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0af4a3545d8487cfff21d0435b4036a1.jpeg","path":"0af4a3545d8487cfff21d0435b4036a1.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.85,"min_quantity":1}],"weight":"0","compare_at_price":"73.12","price":"64.85","retail_price":"73.12","available":true,"url":"\/products\/temperament-double-sided-jacquard-sweater-two-piece-suit?variant=c9ec8b7c-acea-4beb-b147-4e072cbc4388","available_quantity":999999999,"options":[{"name":"color","value":"balck"},{"name":"size","value":"L"}],"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.