我想查看訂單的細節,如一個在歷史訂單
我用戶history.js,但我不拿到查看詳細的訂單頁面
這裏是一些代碼
{foreach from=$orders item=order name=myLoop}
{if $order.id_order_state==5}
{if isset($order.invoice) && $order.invoice && isset($order.virtual) && $order.virtual}
{/if}
-|-
{$order.id_order}
{Order::getUniqReferenceOf($order.id_order)}
-|-
{$order.date_add|date_format:'Y-m-d H:i:s'}
-|-
{foreach from=$histories item=history name=hLoop}
{if $history[0].id_order==$order.id_order}
{$history[0].date_add}
{/if}
{/foreach}
-|-
{$order.payment|escape:'htmlall':'UTF-8'}
-|-
{if isset($order.order_state)}{$order.order_state|escape:'htmlall':'UTF-8'}
{/if}
<br>
<a class="color-myaccount" href="javascript:showOrder(1, {$order.id_order|intval}, '{$base_dir}?fc=module&module={$module_name}&controller=products');">{l s='details'}</a>
{/if}
{/foreach}
這個代碼視圖順序和細節瞭解詳細信息訂購
但我沒有得到詳細信息
thnks,是我看過這個文件,但我沒有得到的訂單頁面的細節! – yassine