Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Debugging Console for Checkout/Finding Order-Place Template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-05-2006, 04:23 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default Debugging Console for Checkout/Finding Order-Place Template

Hi,

I want to edit the page that comes following the order--thank you for placing your order, below is your invoice, etc.

I have two questions:

1- Is there a way to do this with the debugging console? When I log in on the back end, I can't also log in as a customer, so I can't see what templates are used on checkout pages.

2- If I can't do this, can someone please let me know which templates are used on the post-order page? This way, I can use two different browsers to find my way around until I get it

Thanks,

Jeremy
__________________
Version 4.0.17/4.0.18
Reply With Quote
  #2  
Old 07-05-2006, 04:49 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

customer/main/order_message.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:33 PM.

   

 
X-Cart forums © 2001-2020