Home Prefer Mens Warm Winter Hats Fleece Lined Earflap Hat Daily Beanie Watch Cap
${function() {
const variantData = data.variant || {"id":"54a6d64c-e675-4435-a5c5-97e275a80d0e","product_id":"559aafa3-b561-4ce3-9760-609e8ba3ea79","title":"Army Green","weight_unit":"kg","inventory_quantity":200000,"sku":"","barcode":"","position":1,"option1":"Army Green","option2":"","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-mens-warm-winter-hats-fleece-lined-earflap-hat-daily-beanie-watch-cap-3y5s?variant=54a6d64c-e675-4435-a5c5-97e275a80d0e","available_quantity":999999999,"options":[{"name":"color","value":"Army Green"}],"off_ratio":"20","flashsale_info":{"variant_id":"54a6d64c-e675-4435-a5c5-97e275a80d0e","product_id":"","quantity":0,"discount_id":"f9fb6259-9e63-4faa-a29f-b9cea836a7ee","limit_time":3696176,"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":555};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
color
color
Army Green
Black
Coffee
Light Grey
Navy
Red
${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":"54a6d64c-e675-4435-a5c5-97e275a80d0e","product_id":"559aafa3-b561-4ce3-9760-609e8ba3ea79","title":"Army Green","weight_unit":"kg","inventory_quantity":200000,"sku":"","barcode":"","position":1,"option1":"Army Green","option2":"","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-mens-warm-winter-hats-fleece-lined-earflap-hat-daily-beanie-watch-cap-3y5s?variant=54a6d64c-e675-4435-a5c5-97e275a80d0e","available_quantity":999999999,"options":[{"name":"color","value":"Army Green"}],"off_ratio":"20","flashsale_info":{"variant_id":"54a6d64c-e675-4435-a5c5-97e275a80d0e","product_id":"","quantity":0,"discount_id":"f9fb6259-9e63-4faa-a29f-b9cea836a7ee","limit_time":3696176,"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":555};
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}
`;
}()}