X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Debugging Console for Checkout/Finding Order-Place Template (https://forum.x-cart.com/showthread.php?t=23042)

MCM 07-05-2006 04:23 PM

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

balinor 07-05-2006 04:49 PM

customer/main/order_message.tpl.

MCM 07-05-2006 11:30 PM

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


All times are GMT -8. The time now is 06:37 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.