Procházet zdrojové kódy

use AddTrials value

andre před 4 roky
rodič
revize
59bd11060a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      checkout.tpl

+ 1 - 1
checkout.tpl

@@ -1634,7 +1634,7 @@
                         {/if}
                         {if ((count($clientActiveFree) + count($clientCardFree)) > (2 + $clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":""))}
                             {include file="templates/orderforms/{$carttpl}/removetrial.tpl"}
-                        {else if (count($clientCradDoubleFree) > 0)}
+                        {else if (count($clientCardDoubleFree) > 0)}
                             {include file="templates/orderforms/{$carttpl}/removedoubletrial.tpl"}
                         {else}
                             <button type="submit"