Эх сурвалжийг харах

check shoppingcard for free products

andre 4 жил өмнө
parent
commit
082ae3f49d
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      checkout.tpl

+ 2 - 0
checkout.tpl

@@ -1636,6 +1636,8 @@
                         <button type="submit"
                                 id="btnCompleteOrder"
                                 class="margin-bottom btn btn-primary btn-lg disable-on-click spinner-on-click{if $captcha}{$captcha->getButtonClass($captchaForm)}{/if}"
+                                {if ((count($clientActiveFree) + count($clientCardFree)) > 1)}disabled="disabled"{/if}
+
                                 {if $cartitems==0}disabled="disabled"{/if}
                                 >
                                 {if $rawtotal==0}Kostenlos bestellen