Home Prefer Toddler Boys Girls Beanie Hat Fleece Lined Knit Kids Hat with Ear Flaps Warm Winter Hat Acrylic Watch Hat
${function() {
const variantData = data.variant || {"id":"a5c7d686-5efc-4a54-9a2a-14ae9c60f131","product_id":"624610ce-063d-440b-9d3e-42d9156909b4","title":"3-6 Years-Grey","weight_unit":"kg","inventory_quantity":200000,"sku":"","barcode":"","position":1,"option1":"3-6 Years","option2":"Grey","option3":"","note":"","image":null,"wholesale_price":[{"price":9.59,"min_quantity":1}],"weight":"1","compare_at_price":"11.99","price":"9.59","retail_price":"11.99","available":true,"url":"\/products\/home-prefer-toddler-boys-girls-beanie-hat-fleece-lined-knit-kids-hat-with-ear-flaps-warm-winter-hat-acrylic-watch-hat?variant=a5c7d686-5efc-4a54-9a2a-14ae9c60f131","available_quantity":999999999,"options":[{"name":"size","value":"3-6 Years"},{"name":"color","value":"Grey"}],"off_ratio":"20","flashsale_info":{"variant_id":"a5c7d686-5efc-4a54-9a2a-14ae9c60f131","product_id":"","quantity":0,"discount_id":"f9fb6259-9e63-4faa-a29f-b9cea836a7ee","limit_time":3698209,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"50","discount_stock":-1,"ends_at":1756702799,"starts_at":1751518800,"allow_oversold":"uncheck","allocation_method":"none","price":"9.59","compare_at_price":"11.99","discount_price":"9.59","customary_saved_price":"2.40","customary_off_ratio":"20","discount_saved_price":"2.40","discount_off_ratio":"20","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"Cool Deals Now","discount_quantity":0,"is_need_split":false},"sales":111};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
size
size
3-6 Years
6-12 Months
1-3T
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
color
color
Grey
Royal Blue
White
Black
Mauve
Light Purple
Navy
Wine Red
Brown
Yellow
Pink
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Whether you're a wholesaler, retailer, or looking to create a custom design, Home Prefer offers high-quality hats and professional services to meet your needs. We provide flexible wholesale options and competitive pricing to ensure your bulk purchasing requirements. Additionally, we offer personalized customization services, allowing you to design hats with your brand logo, unique patterns, or other specifications.
Whatever your needs may be, Home Prefer is here to provide the perfect solution. Feel free to contact us via email at eva@homeprefer.com for more details.
Add to cart
$9.59
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"a5c7d686-5efc-4a54-9a2a-14ae9c60f131","product_id":"624610ce-063d-440b-9d3e-42d9156909b4","title":"3-6 Years-Grey","weight_unit":"kg","inventory_quantity":200000,"sku":"","barcode":"","position":1,"option1":"3-6 Years","option2":"Grey","option3":"","note":"","image":null,"wholesale_price":[{"price":9.59,"min_quantity":1}],"weight":"1","compare_at_price":"11.99","price":"9.59","retail_price":"11.99","available":true,"url":"\/products\/home-prefer-toddler-boys-girls-beanie-hat-fleece-lined-knit-kids-hat-with-ear-flaps-warm-winter-hat-acrylic-watch-hat?variant=a5c7d686-5efc-4a54-9a2a-14ae9c60f131","available_quantity":999999999,"options":[{"name":"size","value":"3-6 Years"},{"name":"color","value":"Grey"}],"off_ratio":"20","flashsale_info":{"variant_id":"a5c7d686-5efc-4a54-9a2a-14ae9c60f131","product_id":"","quantity":0,"discount_id":"f9fb6259-9e63-4faa-a29f-b9cea836a7ee","limit_time":3698209,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"50","discount_stock":-1,"ends_at":1756702799,"starts_at":1751518800,"allow_oversold":"uncheck","allocation_method":"none","price":"9.59","compare_at_price":"11.99","discount_price":"9.59","customary_saved_price":"2.40","customary_off_ratio":"20","discount_saved_price":"2.40","discount_off_ratio":"20","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"Cool Deals Now","discount_quantity":0,"is_need_split":false},"sales":111};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function() {
const minDays = parseInt('5');
const maxDays = parseInt('7');
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}
`;
}()}