[*] FO : Hide the download link if the virtual product do not have files associated with it

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9062 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lBrieu
2011-10-05 14:27:30 +00:00
parent 9eda5d4cdc
commit fce8c6a4e0
+1 -1
View File
@@ -245,7 +245,7 @@
<td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
<td class="bold">
<label for="cb_{$product.id_order_detail|intval}">
{if $product.download_hash && $invoice}
{if $product.download_hash && $invoice && $product.display_filename != ''}
{if isset($is_guest) && $is_guest}
<a href="{$link->getPageLink('get-file', true, NULL, "key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}&amp;id_order={$order->id}&secure_key={$order->secure_key}")}" title="{l s='download this product'}">
{else}