Fixed order edit. When a product was deleted, the title was blank. Now we use the order_product title.

This commit is contained in:
Julien Chanséaume
2014-07-15 14:40:16 +02:00
committed by Julien Chanseaume
parent 4aec6f4b3d
commit 43517c629a

View File

@@ -99,9 +99,15 @@
{/if}
<tr>
<td>
{ifloop rel="my_product_loop"}
{loop type="product" name="my_product_loop" visible="*" ref="$REF"}
<a href="{url path='/admin/products/update' product_id=$ID}">{$TITLE}</a>
{/loop}
{/ifloop}
{elseloop rel="my_product_loop"}
{* The product doesn't exist anymore *}
{$TITLE}
{/elseloop}
{ifloop rel="combinations"}
<dl class="dl-horizontal">
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}