Casual lapel pocket long sleeve solid color cotton jumpsuit
${function() {
const variantData = data.variant || {"id":"04c71d6e-706b-43b2-af02-5fd42f8d7ff8","product_id":"218dcaae-c5d1-4346-8630-cbf1424bc1ec","title":"green-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031105-green-s","barcode":"","position":1,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65ae7e704ffecd3b9808aae72132ead3.jpg","path":"65ae7e704ffecd3b9808aae72132ead3.jpg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.92,"min_quantity":1}],"weight":"0","compare_at_price":"65","price":"37.92","retail_price":"65","available":true,"url":"\/products\/casual-lapel-pocket-long-sleeve-solid-color-cotton-jumpsuit-pdfo?variant=04c71d6e-706b-43b2-af02-5fd42f8d7ff8","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"s"}],"off_ratio":42,"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.