X
new

Makala Tambourine Stick

MP-TAMBO-BL

$10.00 MSRP

Makala Tambourine Sticks are fun and easy-to-play instruments that add a lively rhythm to any musical ensemble, launching in three bright color opt...
More Details →
X
new

Makala Maraca Set

MP-MARACA-MD-YL

$17.00 MSRP

Makala Maraca Sets are available in three vibrant colors — perfect for adding a festive touch to any classroom, party or performance. Measurements ...
More Details →
X
new

Makala 8-inch Djembe

MP-DJEMBE-8

$39.00 MSRP

The Makala 8-inch Djembe is a versatile percussion instrument that can create a variety of rhythms and tones. Measurements Height:  15.625", Diamet...
More Details →
X
new

Makala 8-Key Kalimba

MP-KALIMBA-8-KEY

$19.00 MSRP

Discover the soothing tones of the Makala 8-Key Kalimba, a portable thumb piano that delivers a dreamlike chime. Ideal for beginners and experience...
More Details →
X
new

Makala Mako Blue Kids Cajón

MP-CAJON-BL

$69.00 MSRP

The Makala Kids Cajón features a vibrant blue body and walnut veneer faceplate, adding depth and rhythm to any musical ensemble. Measurements Heigh...
More Details →
// Preorder Property Handler (function() { function initPreorderProperty() { // Check if this is a preorder product if (!window.isPreorderProduct) { return; } console.log('✅ Preorder product detected'); // Add property to form submissions function addPreorderToForm() { const addToCartButtons = document.querySelectorAll( '[name="add"], ' + 'button[type="submit"][name="add"], ' + '.product-form__submit, ' + '[data-add-to-cart], ' + 'button.add-to-cart, ' + 'button[name="add"]' ); addToCartButtons.forEach(function(button) { button.addEventListener('click', function(e) { const form = button.closest('form'); if (form && form.action && form.action.includes('/cart/add')) { let preorderInput = form.querySelector('input[name="properties[_preorder]"]'); if (!preorderInput) { preorderInput = document.createElement('input'); preorderInput.type = 'hidden'; preorderInput.name = 'properties[_preorder]'; preorderInput.value = 'true'; form.appendChild(preorderInput); console.log('✅ Added _preorder hidden input'); } } }); }); } // Intercept AJAX cart adds function interceptCartAjax() { const originalFetch = window.fetch; window.fetch = function(...args) { const [url, config] = args; if (url && (url.includes('/cart/add.js') || url.includes('/cart/add'))) { if (config && config.body) { try { // Handle JSON body if (typeof config.body === 'string') { const data = JSON.parse(config.body); if (!data.properties) { data.properties = {}; } if (!data.properties._preorder) { data.properties._preorder = 'true'; console.log('✅ Added _preorder to AJAX request'); } config.body = JSON.stringify(data); } // Handle FormData else if (config.body instanceof FormData) { if (!config.body.has('properties[_preorder]')) { config.body.append('properties[_preorder]', 'true'); console.log('✅ Added _preorder to FormData'); } } } catch (e) { console.error('Error modifying cart request:', e); } } } return originalFetch.apply(this, args); }; } // Initialize when DOM is ready if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function() { addPreorderToForm(); interceptCartAjax(); }); } else { addPreorderToForm(); interceptCartAjax(); } } // Initialize initPreorderProperty(); })();