Explorar o código

disable already used trial version

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
473ec9ce5d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      products.tpl

+ 3 - 1
products.tpl

@@ -242,7 +242,9 @@
 								</td>
 							</tr>
 						</table>
-						{if ($prodct.pricing.type == 'free') && !in_array($product.pid, $clientPids)}
+						{if ($prodct.pricing.type == 'free') && in_array($product.pid, $clientPids)}
+							blubb
+						{else}
 						<a href="{$WEB_ROOT}/cart.php?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;" id="product{$product@iteration}-order-button">
                                 		    {$LANG.ordernowbutton}
 										</a>