Home Prefer Faux Fur Trooper Trapper Hat for Men Warm Mens Winter Hat with Earflaps Ushanka Hunting Hat Reflective Brim
${function() {
const variantData = data.variant || {"id":"e16d8d89-adf1-4e85-96aa-1bfabf9354b8","product_id":"bbb63690-89a9-46f1-805b-cd4557a59431","title":"One Size-Army Green","weight_unit":"kg","inventory_quantity":10,"sku":"","barcode":"","position":1,"option1":"One Size","option2":"Army Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9106ded9460adbdb7c02f88a2e469f80.jpeg","path":"9106ded9460adbdb7c02f88a2e469f80.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/home-prefer-faux-fur-trooper-trapper-hat-for-men-warm-mens-winter-hat-with-earflaps-ushanka-hunting-hat-reflective-brim-23vd?variant=e16d8d89-adf1-4e85-96aa-1bfabf9354b8","available_quantity":999999999,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"Army Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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:
Army 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}
`
}()}
${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 `
`;
}()}
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
$19.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":"e16d8d89-adf1-4e85-96aa-1bfabf9354b8","product_id":"bbb63690-89a9-46f1-805b-cd4557a59431","title":"One Size-Army Green","weight_unit":"kg","inventory_quantity":10,"sku":"","barcode":"","position":1,"option1":"One Size","option2":"Army Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9106ded9460adbdb7c02f88a2e469f80.jpeg","path":"9106ded9460adbdb7c02f88a2e469f80.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/home-prefer-faux-fur-trooper-trapper-hat-for-men-warm-mens-winter-hat-with-earflaps-ushanka-hunting-hat-reflective-brim-23vd?variant=e16d8d89-adf1-4e85-96aa-1bfabf9354b8","available_quantity":999999999,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"Army Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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} \nMother's Day Special: Enjoy Free Shipping! <\/strong>";
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}
`;
}()}