Posted by:

Category:

Comments:

Post Date:


Kyle

Order Ahead
Services
  • Indoor Seating
  • Breakfast Options
  • Lunch Options
  • Keto Options
  • Drive-thru

ABOUT SUMMER MOON COFFEE

This locally-owned Kyle coffee shop is known for unique Oak Roasted Coffee and signature sweet cream Moon Milk. Summer Moon Kyle is 20 miles south of Austin on I-35. A kid-friendly favorite for locals and students, Summer Moon Kyle features online ordering, free wi-fi, and pet-friendly patio seating.

Austin

5701 W. Slaughter Lane Ste. A170
Austin, TX 78749

(737) 202-4288

Please fill out the form to send us an email or give us a call at (512) 504-3039 for immediate assistance.

Use left/right arrows to navigate the slideshow or swipe left/right if using a mobile device

' + 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 () { var source = $('#CartTemplate').html(), template = Handlebars.compile(source); $(_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) { // console.log('heck yea!'); // Re-enable add to cart button. $addToCartBtn.addClass('inverted'); _setText($addToCartBtn, _config.addedToCartBtnLabel); // _showFeedback('success',' Added to cart! View cart or continue shopping.',$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 ) 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, 'USD', newCurrency, ), Currency.money_format[newCurrency], ) + '', ); } else { $(_config.cartTotalSelector).html( Shopify.formatMoney(cart.total_price, '${{amount}}'), ); } } else { $(_config.cartTotalSelector).html( Shopify.formatMoney(cart.total_price, '${{amount}}'), ); } } $('.cart-drawer').trigger({ type: 'cart.update', cart: cart, }); winWdth = $(window).width(); if (winWdth >= 750) { Modal($('.cart-drawer')); } }); }, 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(); ]]>


Source

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *


Related

Posts