Home Prefer UPF50+ Kids Wide Brim Sun Hat for Boys Girls UV Protection Hat Mesh Wide Brim Fishing Hat Beach Water Bucket Hat
${function() {
const variantData = data.variant || {"id":"6086e9fb-809e-4bfb-af6d-6e03ecad9cfa","product_id":"daffcfe7-722c-4da6-a48f-7a87289bb900","title":"4-8 Years-Army Green","weight_unit":"kg","inventory_quantity":2000,"sku":"","barcode":"","position":1,"option1":"4-8 Years","option2":"Army Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcb05e943c1496f21d4cb8bce2427bcb.jpeg","path":"fcb05e943c1496f21d4cb8bce2427bcb.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/home-prefer-upf50-kids-wide-brim-sun-hat-for-boys-girls-uv-protection-hat-mesh-wide-brim-fishing-hat-beach-water-bucket-hat?variant=6086e9fb-809e-4bfb-af6d-6e03ecad9cfa","available_quantity":999999999,"options":[{"name":"Size","value":"4-8 Years"},{"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}
`
}()}
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
$14.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":"6086e9fb-809e-4bfb-af6d-6e03ecad9cfa","product_id":"daffcfe7-722c-4da6-a48f-7a87289bb900","title":"4-8 Years-Army Green","weight_unit":"kg","inventory_quantity":2000,"sku":"","barcode":"","position":1,"option1":"4-8 Years","option2":"Army Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcb05e943c1496f21d4cb8bce2427bcb.jpeg","path":"fcb05e943c1496f21d4cb8bce2427bcb.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/home-prefer-upf50-kids-wide-brim-sun-hat-for-boys-girls-uv-protection-hat-mesh-wide-brim-fishing-hat-beach-water-bucket-hat?variant=6086e9fb-809e-4bfb-af6d-6e03ecad9cfa","available_quantity":999999999,"options":[{"name":"Size","value":"4-8 Years"},{"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 variantData = data.variant || {"id":"6086e9fb-809e-4bfb-af6d-6e03ecad9cfa","product_id":"daffcfe7-722c-4da6-a48f-7a87289bb900","title":"4-8 Years-Army Green","weight_unit":"kg","inventory_quantity":2000,"sku":"","barcode":"","position":1,"option1":"4-8 Years","option2":"Army Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcb05e943c1496f21d4cb8bce2427bcb.jpeg","path":"fcb05e943c1496f21d4cb8bce2427bcb.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/home-prefer-upf50-kids-wide-brim-sun-hat-for-boys-girls-uv-protection-hat-mesh-wide-brim-fishing-hat-beach-water-bucket-hat?variant=6086e9fb-809e-4bfb-af6d-6e03ecad9cfa","available_quantity":999999999,"options":[{"name":"Size","value":"4-8 Years"},{"name":"Color","value":"Army Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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}
`;
}()}