Просмотр исходного кода

use free value instead price of 0.00 for checking trials

andre 3 лет назад
Родитель
Сommit
9ebce5358a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      products.tpl

+ 1 - 1
products.tpl

@@ -244,7 +244,7 @@
 								    {/if}
 								</td>
 							</tr>
-						</table>
+						</table>{debug}
 						{if ($product.pricing.type eq 'free') && ((count($clientActiveFree) + count($clientCardFree)) > (1 + $clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":""))}
 							<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.request}