The hood may be the most important piece of snorkeling equipment because it is the best way to keep heat in. Divers who dive in a variety of climates will appreciate the versatility of a pullover hood. Polypropylene is UV resistant, helps to keep jellyfish, sea lice, and other irritants at bay, and does not oxidize in the sun or heat.
').val(option).html(option);
selector.append(newOption);
}
//console.log(availableOptionsJas);
jQuery('#callBackVariant .swatches-select[data-option-index="' + selectorIndex + '"] .basel-swatch').each(function() {
//console.log('sdffsdfds');
if (jQuery.inArray($(this).attr('data-value'), availableOptions) !== -1) {
$(this).removeClass('jas_unavailable')
}
else {
$(this).addClass('jas_unavailable')
}
});
jQuery('#callBackVariant .swatches-select[data-option-index="' + selectorIndex + '"] .basel-swatch').each(function() {
//console.log('sdffsdfds');
if (jQuery.inArray($(this).attr('data-value'), availableOptionsJas) !== -1) {
$(this).removeClass('jas_soldout')
}
else {
$(this).addClass('jas_soldout')
}
});
if (jQuery.inArray(initialValue, availableOptions) !== -1) {
selector.val(initialValue);
}
selector.trigger('change');
};
Shopify.linkOptionSelectors = function(product) {
// Building our mapping object.
for (var i=0; i 1) {
var key = variant.option1;
Shopify.optionsMap[key] = Shopify.optionsMap[key] || [];
Shopify.optionsMap[key].push(variant.option2);
Shopify.optionsMap[key] = Shopify.uniq(Shopify.optionsMap[key]);
}
// Gathering values for the 3rd drop-down.
if (product.options.length === 3) {
var key = variant.option1 + ' / ' + variant.option2;
Shopify.optionsMap[key] = Shopify.optionsMap[key] || [];
Shopify.optionsMap[key].push(variant.option3);
Shopify.optionsMap[key] = Shopify.uniq(Shopify.optionsMap[key]);
}
}
if (variant.available) {
// Gathering values for the 1st drop-down.
Shopify.optionsMapJas['root'] = Shopify.optionsMapJas['root'] || [];
Shopify.optionsMapJas['root'].push(variant.option1);
Shopify.optionsMapJas['root'] = Shopify.uniq(Shopify.optionsMapJas['root']);
// Gathering values for the 2nd drop-down.
if (product.options.length > 1) {
var key = variant.option1;
Shopify.optionsMapJas[key] = Shopify.optionsMapJas[key] || [];
Shopify.optionsMapJas[key].push(variant.option2);
Shopify.optionsMapJas[key] = Shopify.uniq(Shopify.optionsMapJas[key]);
}
// Gathering values for the 3rd drop-down.
if (product.options.length === 3) {
var key = variant.option1 + ' / ' + variant.option2;
Shopify.optionsMapJas[key] = Shopify.optionsMapJas[key] || [];
Shopify.optionsMapJas[key].push(variant.option3);
Shopify.optionsMapJas[key] = Shopify.uniq(Shopify.optionsMapJas[key]);
}
}
}
// Update options right away.
Shopify.updateOptionsInSelector(0);
if (product.options.length > 1) Shopify.updateOptionsInSelector(1);
if (product.options.length === 3) Shopify.updateOptionsInSelector(2);
// When there is an update in the first dropdown.
jQuery("#callBackVariant .single-option-selector:eq(0)").change(function() {
Shopify.updateOptionsInSelector(1);
if (product.options.length === 3) Shopify.updateOptionsInSelector(2);
return true;
});
// When there is an update in the second dropdown.
jQuery("#callBackVariant .single-option-selector:eq(1)").change(function() {
if (product.options.length === 3) Shopify.updateOptionsInSelector(2);
return true;
});
};
var product = {"id": 8777391505582,"title": "P372 Pullover Hood With BIB (Unisex)","handle": "aeroskin-p372-hood","price": 28000,"price_min": 28000,"price_max": 28000,"available": true,"price_varies": false,"compare_at_price": null,"compare_at_price_min": 0,"compare_at_price_max": 0,"compare_at_price_varies": false,"variants": [{"id": 46616264147118,"title": "unisex / blk","option1": "unisex","option2":"blk","option3":null,"sku": "P372-BLK","requires_shipping": true,"taxable": false,"featured_image":{"id": 40047201484974,"product_id": 8777391505582,"width": 2048,"height": 2048,"src": "\/\/snorkeling-gear.com\/cdn\/shop\/files\/P372-BLK.jpg?v=1750669625"},"available": true,"public_title": "unisex / blk","options": ["unisex","blk"],"price": 28000,"weight": 100,"compare_at_price": null,"inventory_quantity": 10,"inventory_management": "shopify","inventory_policy": "deny","barcode": null},{"id": 46616264179886,"title": "unisex / fuc","option1": "unisex","option2":"fuc","option3":null,"sku": "P372-FUC","requires_shipping": true,"taxable": false,"featured_image":{"id": 40047201517742,"product_id": 8777391505582,"width": 2048,"height": 2048,"src": "\/\/snorkeling-gear.com\/cdn\/shop\/files\/P372-FUC.jpg?v=1750669625"},"available": true,"public_title": "unisex / fuc","options": ["unisex","fuc"],"price": 28000,"weight": 100,"compare_at_price": null,"inventory_quantity": 10,"inventory_management": "shopify","inventory_policy": "deny","barcode": null},{"id": 46616264212654,"title": "unisex / yel","option1": "unisex","option2":"yel","option3":null,"sku": "P372-YEL","requires_shipping": true,"taxable": false,"featured_image":{"id": 40047201550510,"product_id": 8777391505582,"width": 2048,"height": 2048,"src": "\/\/snorkeling-gear.com\/cdn\/shop\/files\/P372-YEL.jpg?v=1750669625"},"available": true,"public_title": "unisex / yel","options": ["unisex","yel"],"price": 28000,"weight": 100,"compare_at_price": null,"inventory_quantity": 5,"inventory_management": "shopify","inventory_policy": "deny","barcode": null},{"id": 46616264245422,"title": "unisex / blu","option1": "unisex","option2":"blu","option3":null,"sku": "P372-BLU","requires_shipping": true,"taxable": false,"featured_image":{"id": 40047201583278,"product_id": 8777391505582,"width": 2048,"height": 2048,"src": "\/\/snorkeling-gear.com\/cdn\/shop\/files\/P372-BLU.jpg?v=1750669625"},"available": true,"public_title": "unisex / blu","options": ["unisex","blu"],"price": 28000,"weight": 100,"compare_at_price": null,"inventory_quantity": 10,"inventory_management": "shopify","inventory_policy": "deny","barcode": null},{"id": 46616264278190,"title": "unisex / pur","option1": "unisex","option2":"pur","option3":null,"sku": "P372-PUR","requires_shipping": true,"taxable": false,"featured_image":{"id": 40047201616046,"product_id": 8777391505582,"width": 2048,"height": 2048,"src": "\/\/snorkeling-gear.com\/cdn\/shop\/files\/P372-PUR.jpg?v=1750669625"},"available": true,"public_title": "unisex / pur","options": ["unisex","pur"],"price": 28000,"weight": 100,"compare_at_price": null,"inventory_quantity": 8,"inventory_management": "shopify","inventory_policy": "deny","barcode": null}],"featured_image": "\/\/snorkeling-gear.com\/cdn\/shop\/files\/P372-BLK.jpg?v=1750669625","options": ["Size","Color"]};
var $addToCartForm = $('#callBackVariant form[action="/cart/add"]');
if (window.MutationObserver && $addToCartForm.length) {
if (typeof observer === 'object' && typeof observer.disconnect === 'function') {
observer.disconnect();
}
var config = { childList: true, subtree: true };
var observer = new MutationObserver(function() {
Shopify.linkOptionSelectors(product);
observer.disconnect();
});
observer.observe($addToCartForm[0], config);
}