td foreach shopOrderattachPlugi getAttachedFiles as if id order_id hre

1
2
3
4
5
6
7
<td>
{foreach shopOrderattachPlugin::getAttachedFiles() as $a}
{if $o.id == $a.order_id}
<p><a href="{$wa->domainUrl()}/shop/my/orders/orderattach/{$a.order_id}/{$a.file_name}/{$a.hash}/">{$a.file_name}</a></p>
{/if}
{/foreach}
</td>