Home Prefer Cotton Summer Fedora Hat Wide Brim Sun Hats for Men Women UPF 50+ Sun Protection Cap for Fishing Hiking
${function() {
const variantData = data.variant || {"id":"b339db02-1443-47a9-b153-86d0062227b8","product_id":"1dd8e96f-af08-47da-901e-a47292a171e6","title":"7 1\/2-Light Khaki","weight_unit":"kg","inventory_quantity":11,"sku":"","barcode":"","position":1,"option1":"7 1\/2","option2":"Light Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb3d538353c3ccf33347be2ab63c6e46.jpeg","path":"fb3d538353c3ccf33347be2ab63c6e46.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"26.99","retail_price":"29.99","available":true,"url":"\/products\/home-prefer-cotton-summer-fedora-hat-wide-brim-sun-hats-for-men-women-upf-50-sun-protection-cap?variant=b339db02-1443-47a9-b153-86d0062227b8","available_quantity":999999999,"options":[{"name":"Size","value":"7 1\/2"},{"name":"Color","value":"Light Khaki"}],"off_ratio":"10","flashsale_info":{"variant_id":"b339db02-1443-47a9-b153-86d0062227b8","product_id":"","quantity":0,"discount_id":"c2009582-e806-436e-8c43-9bf6e5aeadff","limit_time":2890381,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1750136399,"starts_at":1746939600,"allow_oversold":"uncheck","allocation_method":"none","price":"26.99","compare_at_price":"29.99","discount_price":"26.99","customary_saved_price":"3.00","customary_off_ratio":"10","discount_saved_price":"3.00","discount_off_ratio":"10","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"Father's Day ","discount_quantity":0,"is_need_split":false},"sales":6223};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color:
Light Khaki
${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}
`
}()}
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
$26.99
${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":"b339db02-1443-47a9-b153-86d0062227b8","product_id":"1dd8e96f-af08-47da-901e-a47292a171e6","title":"7 1\/2-Light Khaki","weight_unit":"kg","inventory_quantity":11,"sku":"","barcode":"","position":1,"option1":"7 1\/2","option2":"Light Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb3d538353c3ccf33347be2ab63c6e46.jpeg","path":"fb3d538353c3ccf33347be2ab63c6e46.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"26.99","retail_price":"29.99","available":true,"url":"\/products\/home-prefer-cotton-summer-fedora-hat-wide-brim-sun-hats-for-men-women-upf-50-sun-protection-cap?variant=b339db02-1443-47a9-b153-86d0062227b8","available_quantity":999999999,"options":[{"name":"Size","value":"7 1\/2"},{"name":"Color","value":"Light Khaki"}],"off_ratio":"10","flashsale_info":{"variant_id":"b339db02-1443-47a9-b153-86d0062227b8","product_id":"","quantity":0,"discount_id":"c2009582-e806-436e-8c43-9bf6e5aeadff","limit_time":2890381,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1750136399,"starts_at":1746939600,"allow_oversold":"uncheck","allocation_method":"none","price":"26.99","compare_at_price":"29.99","discount_price":"26.99","customary_saved_price":"3.00","customary_off_ratio":"10","discount_saved_price":"3.00","discount_off_ratio":"10","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"Father's Day ","discount_quantity":0,"is_need_split":false},"sales":6223};
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 variantData = data.variant || {"id":"b339db02-1443-47a9-b153-86d0062227b8","product_id":"1dd8e96f-af08-47da-901e-a47292a171e6","title":"7 1\/2-Light Khaki","weight_unit":"kg","inventory_quantity":11,"sku":"","barcode":"","position":1,"option1":"7 1\/2","option2":"Light Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb3d538353c3ccf33347be2ab63c6e46.jpeg","path":"fb3d538353c3ccf33347be2ab63c6e46.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"26.99","retail_price":"29.99","available":true,"url":"\/products\/home-prefer-cotton-summer-fedora-hat-wide-brim-sun-hats-for-men-women-upf-50-sun-protection-cap?variant=b339db02-1443-47a9-b153-86d0062227b8","available_quantity":999999999,"options":[{"name":"Size","value":"7 1\/2"},{"name":"Color","value":"Light Khaki"}],"off_ratio":"10","flashsale_info":{"variant_id":"b339db02-1443-47a9-b153-86d0062227b8","product_id":"","quantity":0,"discount_id":"c2009582-e806-436e-8c43-9bf6e5aeadff","limit_time":2890381,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1750136399,"starts_at":1746939600,"allow_oversold":"uncheck","allocation_method":"none","price":"26.99","compare_at_price":"29.99","discount_price":"26.99","customary_saved_price":"3.00","customary_off_ratio":"10","discount_saved_price":"3.00","discount_off_ratio":"10","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"Father's Day ","discount_quantity":0,"is_need_split":false},"sales":6223};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
${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}
`;
}()}