Bladeren bron

use AddTrials value

andre 4 jaren geleden
bovenliggende
commit
859c24b313
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      products.tpl

+ 1 - 1
products.tpl

@@ -252,7 +252,7 @@
 							<a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.moretrials} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
 								{$LANG.tomuchtrials}
 							</a>
-						{elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientPids)}
+						{elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientPids && !in_array($product.pid, $clientActiveFree))}
 							<a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.tryagain} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
 								{$LANG.tryagain}
 							</a>