diff --git a/templates/backOffice/default/order-edit.html b/templates/backOffice/default/order-edit.html index e7a87a5ee..5fe46c037 100644 --- a/templates/backOffice/default/order-edit.html +++ b/templates/backOffice/default/order-edit.html @@ -99,9 +99,15 @@ {/if} - {loop type="product" name="my_product_loop" visible="*" ref="$REF"} - {$TITLE} - {/loop} + {ifloop rel="my_product_loop"} + {loop type="product" name="my_product_loop" visible="*" ref="$REF"} + {$TITLE} + {/loop} + {/ifloop} + {elseloop rel="my_product_loop"} + {* The product doesn't exist anymore *} + {$TITLE} + {/elseloop} {ifloop rel="combinations"}
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}