// bug fix when a product has no default image
This commit is contained in:
1 parent
d37c1929c0
commit
22cd141706
1 file changed
+2
-2
@@ -32,8 +32,8 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if ($product['product_quantity'] > $product['customizationQuantityTotal'])}
|
{if ($product['product_quantity'] > $product['customizationQuantityTotal'])}
|
||||||
<tr{if ($product.image->id && isset($product.image_size))} height="{$product['image_size'][1] + 7}"{/if}>
|
<tr{if isset($product.image) && $product.image->id && isset($product.image_size)} height="{$product['image_size'][1] + 7}"{/if}>
|
||||||
<td align="center">{if $product.image->id}{$product.image_tag}{/if}</td>
|
<td align="center">{if isset($product.image) && $product.image->id}{$product.image_tag}{/if}</td>
|
||||||
<td><a href="index.php?tab=AdminCatalog&id_product={$product['product_id']}&updateproduct&token={getAdminToken tab='AdminCatalog'}">
|
<td><a href="index.php?tab=AdminCatalog&id_product={$product['product_id']}&updateproduct&token={getAdminToken tab='AdminCatalog'}">
|
||||||
<span class="productName">{$product['product_name']}</span><br />
|
<span class="productName">{$product['product_name']}</span><br />
|
||||||
{if $product.product_reference}{l s='Ref:'} {$product.product_reference}<br />{/if}
|
{if $product.product_reference}{l s='Ref:'} {$product.product_reference}<br />{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user