Quellcode durchsuchen

disable already used trial version

andre vor 4 Jahren
Ursprung
Commit
9b36376373
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      products.tpl

+ 3 - 1
products.tpl

@@ -242,9 +242,11 @@
 								</td>
 							</tr>
 						</table>
+						{if ($prodct.pricing.type == 'free') && !in_array($product.pid, $clientPids)}
 						<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>
+										</a>
+						{/if}
 						    </table>
 						</div>
 					{/foreach}