Fixed order edit. When a product was deleted, the title was blank. Now we use the order_product title.
This commit is contained in:
committed by
Julien Chanseaume
parent
4aec6f4b3d
commit
43517c629a
@@ -99,9 +99,15 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{loop type="product" name="my_product_loop" visible="*" ref="$REF"}
|
{ifloop rel="my_product_loop"}
|
||||||
<a href="{url path='/admin/products/update' product_id=$ID}">{$TITLE}</a>
|
{loop type="product" name="my_product_loop" visible="*" ref="$REF"}
|
||||||
{/loop}
|
<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"}
|
{ifloop rel="combinations"}
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
|
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
|
||||||
|
|||||||
Reference in New Issue
Block a user