Christmas Knitted Beanie
${function() {
const variantData = data.variant || {"id":"ceb1089f-51de-4dce-bc9e-600a3e329b37","product_id":"1ab96754-0e08-4807-acb6-13abec268c84","title":"Green-One size","weight_unit":"kg","inventory_quantity":999,"sku":"1719235971358208002","barcode":"","position":2,"option1":"Green","option2":"One size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/385cb1b6c00f8b0376e5953ed6e5773e.jpeg","path":"385cb1b6c00f8b0376e5953ed6e5773e.jpeg","width":600,"height":600,"alt":"2de42f38333eb1fd08402daea2b320e3","aspect_ratio":1},"wholesale_price":[{"price":7.42,"min_quantity":1}],"weight":"90","compare_at_price":"0","price":"7.42","retail_price":"0","available":true,"url":"\/products\/christmas-knitted-beanie?variant=ceb1089f-51de-4dce-bc9e-600a3e329b37","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One size"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('5');
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}
`;
}()}
people are viewing this right now
Color:
Green
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
One size
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Product was out of stock.
Product is unavailable.
Price Protection for Black Friday✅
Spot Stock Direct Delivery✅