diff --git a/bin/javascript/init.js b/bin/javascript/init.js index 6b17cc4a84e1e3cb0202551634739cf99d82363b..80d9273558e2f41cb701b673b6448d6f270ddfae 100644 --- a/bin/javascript/init.js +++ b/bin/javascript/init.js @@ -364,7 +364,7 @@ window.addEvent('domready', function () { new Element('span', { 'class': 'quiqqer-order-basketButton-quantity quiqqer-order-basketButton-batch-custom', - html : '0' + html : '<span class="fa fa-spinner fa-spin"></span>' }).inject(BasketNode); if (BASKET_STYLE && BASKET_STYLE === 'full') { diff --git a/template/menu/menuSuffix.html b/template/menu/menuSuffix.html index 5f7f6b32c9121dc08784540080a07792aaf11386..248a899f455c3967195c406d2085f9163be3bd8b 100644 --- a/template/menu/menuSuffix.html +++ b/template/menu/menuSuffix.html @@ -10,14 +10,18 @@ <button disabled class="quiqqer-order-basketButton button--callToAction tpl-btn basket-style-{$basketStyle}" style="float: right;"><span class="quiqqer-order-basketButton-icon-custom"><span class="fa fa-shopping-basket"></span></span><span - class="quiqqer-order-basketButton-quantity quiqqer-order-basketButton-batch-custom">0</span></button> + class="quiqqer-order-basketButton-quantity quiqqer-order-basketButton-batch-custom"> + <span class="fa fa-spinner fa-spin"></span> + </span></button> {else} <button disabled class="quiqqer-order-basketButton button--callToAction tpl-btn basket-style-full" style="float: right;"> <span class="quiqqer-order-basketButton-icon-custom"> <span class="fa fa-shopping-basket"></span> </span> - <span class="quiqqer-order-basketButton-quantity quiqqer-order-basketButton-batch-custom">0</span> + <span class="quiqqer-order-basketButton-quantity quiqqer-order-basketButton-batch-custom"> + <span class="fa fa-spinner fa-spin"></span> + </span> <span class="quiqqer-order-basketButton-sum"> {*$InitialBasketPrice->getDisplayPrice()*} {$initialBasketPrice}