{php} inside template - using smarty variable
In the order_list.tpl file, there's a variable that I need to use to pass it to a function.
To call the variable in the template, I use: {$orders[oid].login}
I also have this in the template:
{php}
checkordernumber(*****);
{/php}
I need to somehow get the {$orders[oid].login} value into that function (where the ***** is). I know that the function works, because it runs fine with hard coded test data. Any idea on how I can accomplish this?
__________________
CreativeArc
---------------
X-Cart Pro
Version: 4.1.8
|