Coming Back Soon
Product: Herring EggsBrand: n/aDescription: Herring eggs are an alternative to Caviar. Many chefs use herring eggs for their plating purposes. Delicate nutty flavours make it a delicious add on to pastas, salads, mousses, cold soups and is also fantastic as...
Coming Back Soon
Product: Squid Ink Description: Dark black ink that's used to add a dramatic jet colour to dishes - especially rice and pasta. Squid ink is wildly used in all major speciality restaurants including pastry outlets.Brand: n/aSize: 4gPackaging: 4g x 1Status: DryOrigin:...
Coming Back Soon
Product: Tobiko Fish Roe Seasoned Brand: Daiei Description: Tobiko is the Japanese word for the flying fish roe. It is most widely known for its use in creating certain types of sushi. Tobiko is larger than masago (capelin roe), but smaller...
Coming Back Soon
Product: Crab Meat ClawBrand: n/aDescription: This meat is found on the crab’s claw and has a brownish colour. It is less costly than white meat chunks. Due to its strong flavour, it makes a very good in fusion cooking and preparing...
Coming Back Soon
Product: Anchovy Fillet in Oil Description: Anchovies in oil have been pre-filleted so they can be eaten as they are. They’re salt-cured for six to nine months, before being plunged into the oil. The flavour of the cured anchovies is very good...
Coming Back Soon
Product: Little Sardines in Olive Oil Description: Sardines Pilchardus is an exceptional fish due to its unsaturated fat and its extraordinary taste. It is caught in the North sea of the Iberian Peninsula and it is cleaned and hand canned, one by...
Coming Back Soon
Product: Fresh Salmon/Trout egg Description: These high-quality trout eggs which are soft and sticky are very good in its flavour. It is good with a slice of bread or used as a topping. Packing: Canned Size: 80g Origin: France Code: 26769
' + 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();