View Single Post
  #3  
Old 07-05-2006, 11:30 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default

Thanks, Balinor! Now one other question...

I've called in the newsletter code with the following:

Code:
{include file="customer/newsletter-order.tpl"}

Everything works fine. However, I'd really like the the person's data to be inserted. I've tried putting the following code in the newsletter-order.tpl to call in the correct values:

Code:
<input maxlength="255" name="email" onFocus="value=''" style="width: 10em;" type="text" value="{$order.email}" /> <input maxlength="50" name="first name" onFocus="value=''" style="width: 10em;" type="text" value="{$order.firstname}" /> <input maxlength="50" name="last name" onFocus="value=''" style="width: 10em;" type="text" value="{$order.lastname}" />

The boxes, however, are blank. Out of curiousity, I randomly placed the {$order.firstname} tag in the middle of the Confirmation box of order_message.tpl and got nothing. I've also tried calling in newsletter-order.tpl this way, but to no avail:

Code:
{include file="customer/newsletter-order.tpl" products=$orders[oi].products giftcerts=$orders[oi].giftcerts userinfo=$orders[oi].userinfo order=$orders[oi].order}


Does anyone know how to get the user information extracted so I can place it in the box?

Thanks,

Jeremy
__________________
Version 4.0.17/4.0.18
Reply With Quote