Coming Back Soon
Product: Still Water (Glass) Description: Pure and Simple. Unaltered from its deep source to the bottle on the table, the purity of Antipodes is its hallmark. Situated in the South Pacific, over 1,000km from its nearest neighbors, New Zealand was one of the...
Coming Back Soon
Product: Sparkling Water (Glass) Description: Pure and Simple. Unaltered from its deep source to the bottle on the table, the purity of Antipodes is its hallmark. Situated in the South Pacific, over 1,000km from its nearest neighbors, New Zealand was one...
Coming Back Soon
Product: Dolomia Vetro (Glass), Natural Mineral Water (Still) Description: Here's some water of only the highest quality. Thirst-quenching, naturally sourced, and extremely refreshing, Dolomia Vetro's Natural Mineral Still Water comes from the springs at Eastern Dolomites' National Park. The water contains...
Coming Back Soon
Product: Dolomia Vetro (Glass), Natural Mineral Water (Still) Description: From the Eastern Dolomites' National Park protected by the UNESCO has Heritage of the World. Very low in Sodium (0.16mg/l) and certified as one of the best water for newborn. Size: 750ml Brand:...
Coming Back Soon
Product: Dolomia Vetro (Glass), Natural Mineral Water (Sparkling)Description: Dolomia Vetro Natural Mineral Water is a sparkling water sourced from the National Park of the Eastern Dolomites, a World Heritage Site protected by UNESCO. This pure water comes in a glass bottle...
Coming Back Soon
Product: Dolomia Vetro (Glass), Natural Mineral Water (Sparkling) Description: From the Eastern Dolomites' National Park protected by the UNESCO has Heritage of the World. Very low in Sodium (0.16mg/l) and certified as one of the best water for newborn. Size: 750ml Brand:...
Coming Back Soon
Product: Dolomia Elegante (PET), Natural Mineral Water (Still) Description: From the Eastern Dolomites' National Park protected by the UNESCO has Heritage of the World. Very low in Sodium (0.16mg/l) and certified as one of the best water for newborn. Size: 500ml Brand:...
Coming Back Soon
Product: Dolomia Elegante (PET), Natural Mineral Water (Still) Description: Here's some water of only the highest quality. Thirst-quenching, naturally sourced, and extremely refreshing, Dolomia Vetro's Natural Mineral Still Water comes from the springs at Eastern Dolomites' National Park. The water contains high...
Coming Back Soon
Product: Still Water (Glass) Description: Pure and Simple. Unaltered from its deep source to the bottle on the table, the purity of Antipodes is its hallmark. Situated in the South Pacific, over 1,000km from its nearest neighbors, New Zealand was one of the...
Coming Back Soon
Product: Dolomia Elegante (PET), Natural Mineral Water (Sparkling) Description: Sparkling natural mineral water from the Eastern Dolomites' National Park, a World Heritage Site protected by UNESCO. Very low in Sodium (0.16mg/l) and perfect for those who enjoy a strong effervescence! Dolomia...
Coming Back Soon
Product: Dolomia Elegante (PET), Natural Mineral Water (Sparkling) Description: From the Eastern Dolomites' National Park protected by the UNESCO has Heritage of the World. Very low in Sodium (0.16mg/l) and certified as one of the best water for newborn. Size: 1000ml Brand:...
Coming Back Soon
Product: Qcumber Soda 330ml Size: 330ml Case Factor: 12 btls Product Code: 31949
' + html + '
'; switch (_config.feedbackPosition) { case 'aboveForm': $addToCartForm.before(feedback); break; case 'belowForm': $addToCartForm.after(feedback); break; case 'nextButton': default: $addToCartForm.find(_config.addToCartBtnSelector).after(feedback); break; } // If you use animate.css // $('.ajaxified-cart-feedback').addClass('animated bounceInDown'); $('.ajaxified-cart-feedback').slideDown(); }; var _setText = function($button, label) { if ($button.children().length) { $button.children().each(function() { if ($.trim($(this).text()) !== '') { $(this).text(label); } }); } else { $button.val(label).text(label); } }; var _init = function() { $(document).ready(function() { $(_config.addToCartFormSelector).submit(function(e) { e.preventDefault(); var $addToCartForm = $(this); var $addToCartBtn = $addToCartForm.find(_config.addToCartBtnSelector); _setText($addToCartBtn, _config.addingToCartBtnLabel); $addToCartBtn.addClass('disabled').prop('disabled', true); // Add to cart. $.ajax({ url: _config.shopifyAjaxAddURL, dataType: 'json', type: 'post', data: $addToCartForm.serialize(), success: function(itemData) { // Re-enable add to cart button. $addToCartBtn.addClass('inverted'); _setText($addToCartBtn, _config.addedToCartBtnLabel); // _showFeedback('success',' Added to cart!',$addToCartForm); window.setTimeout(function(){ $addToCartBtn.prop('disabled', false).removeClass('disabled').removeClass('inverted'); _setText($addToCartBtn,_config.addToCartBtnLabel); }, _config.howLongTillBtnReturnsToNormal); // Update cart count and show cart link. $.getJSON(_config.shopifyAjaxCartURL, function(cart) { if (_config.cartCountSelector && $(_config.cartCountSelector).length) { var value = $(_config.cartCountSelector).html() || '0'; $(_config.cartCountSelector).html(value.replace(/[0-9]+/,cart.item_count)).removeClass('hidden-count'); } if (_config.cartTotalSelector && $(_config.cartTotalSelector).length) { if (typeof Currency !== 'undefined' && typeof Currency.moneyFormats !== 'undefined') { var newCurrency = ''; if ($('[name="currencies"]').length) { newCurrency = $('[name="currencies"]').val(); } else if ($('#currencies span.selected').length) { newCurrency = $('#currencies span.selected').attr('data-currency'); } if (newCurrency) { $(_config.cartTotalSelector).html('' + Shopify.formatMoney(Currency.convert(cart.total_price, "AED", newCurrency), Currency.money_format[newCurrency]) + ''); } else { $(_config.cartTotalSelector).html(Shopify.formatMoney(cart.total_price, "${{ amount }} AED {{ amount }} ")); } } else { $(_config.cartTotalSelector).html(Shopify.formatMoney(cart.total_price, "${{ amount }} AED {{ amount }} ")); } }; }); }, error: function(XMLHttpRequest) { var response = eval('(' + XMLHttpRequest.responseText + ')'); response = response.description; if (response.slice(0,4) === 'All ') { _showFeedback('error', response.replace('All 1 ', 'All '), $addToCartForm); $addToCartBtn.prop('disabled', false); _setText($addToCartBtn, _config.soldOutBtnLabel); $addToCartBtn.prop('disabled',true); } else { _showFeedback('error', ' ' + response, $addToCartForm); $addToCartBtn.prop('disabled', false).removeClass('disabled'); _setText($addToCartBtn, _config.addToCartBtnLabel); } } }); return false; }); }); }; return { init: function(params) { // Configuration params = params || {}; // Merging with defaults. $.extend(_config, params); // Action $(function() { _init(); }); }, getConfig: function() { return _config; } } })(jQuery); Shopify.AjaxifyCart.init();