Casual Solid Lace-Up Dress
${function() {
const variantData = data.variant || {"id":"d4b933e6-87d2-4376-8771-3493a48c9ce6","product_id":"53db439a-930b-4249-bd43-66278a6eb0aa","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"MM2404087607-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a43b6acf62943f05f22f5ce6819b2486.jpeg","path":"a43b6acf62943f05f22f5ce6819b2486.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":45.68,"min_quantity":1}],"weight":"0.3","compare_at_price":"59.68","price":"45.68","retail_price":"59.68","available":true,"url":"\/products\/casual-solid-lace-up-dress?variant=d4b933e6-87d2-4376-8771-3493a48c9ce6","available_quantity":999999999,"options":[{"name":"color","value":"Blue"},{"name":"size","value":"S"}],"off_ratio":23,"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.