Christmas style knitted shoulder bag
${function() {
const variantData = data.variant || {"id":"3f3bd408-99ed-41c9-bc10-af6e17f53a71","product_id":"fd045be6-9c95-48e2-829a-5bb2a82fbbf8","title":"navy","weight_unit":"kg","inventory_quantity":0,"sku":"66221028960-navy","barcode":"","position":1,"option1":"navy","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e6a6bb7758d3edf8389c9231150ef80.jpeg","path":"0e6a6bb7758d3edf8389c9231150ef80.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0.13","compare_at_price":"13.9","price":"8.99","retail_price":"13.9","available":true,"url":"\/products\/christmas-style-knitted-shoulder-bag?variant=3f3bd408-99ed-41c9-bc10-af6e17f53a71","available_quantity":999999999,"options":[{"name":"color","value":"navy"}],"off_ratio":35,"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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.