Quote:
Originally Posted by weckie
Somewhere in a *.tpl file there is this line:
{assign var="_userinfo" value=$customer}{else}{assign var="_userinfo" value=$userinfo}{/if}
My guess, xcart assigns several info to the variable.
Now my question, how can i display all the info that is assigned to it in a list?
Or, How can i display the variable $customer. I tried {$customer} didnt work.
|
open "mail/html/order_invoice.tpl" file. After line
Quote:
{if $customer ne ''}{assign var="_userinfo" value=$customer}{else}{assign var="_userinfo" value=$userinfo}{/if}
|
write next:
Quote:
{foreach from=$_userinfo item=u}
{$u}<br>
{/foreach}
|
it will return full customer info.