td foreach shopOrderattachPlugi getAttachedFiles attached as if id ord

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