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

Can I do this?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-08-2003, 01:12 PM
 
rockman rockman is offline
 

Member
  
Join Date: Feb 2003
Posts: 22
 

Default Can I do this?

In my order confirmation I would like to indicate to the customer what the total order for his payment was. I have this text:

Your credit card has been charged [ordertotal] for this order.


[ordertotal] is my place holder for now.

Am I am to simply exhange my placeholder with this variable {$cart.total_cost} to have the cart total appear in the confirmation template? or is this more involved than I think?

thanks
r
Reply With Quote
  #2  
Old 05-08-2003, 01:53 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

try and add this in its place

Code:
{include file="currency.tpl" value=$order.total}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 05-08-2003, 02:07 PM
 
rockman rockman is offline
 

Member
  
Join Date: Feb 2003
Posts: 22
 

Default

will do, thank you
Reply With Quote
  #4  
Old 05-08-2003, 02:13 PM
 
rockman rockman is offline
 

Member
  
Join Date: Feb 2003
Posts: 22
 

Default

Hi Shan,

I added that to the Eng lang file and it would not pull any price from the cart. Should I have placed this within the .tpl instead.

Cart returned:

Congratulations! Your order was successfully created.

Your credit card has been charged {include file="currency.tpl" value=$order.total} for this order.
Your credit card bill will show a transaction from Ongaro Outdoors Ltd.
If you have any questions about your order, you can:
Call us at 1.800.465.6227
Visit our website at Outfitterstore.com
E-mail our sales department.
Reply With Quote
  #5  
Old 05-08-2003, 02:17 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

sorry , yeh, drop it in the tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 05-08-2003, 02:23 PM
 
rockman rockman is offline
 

Member
  
Join Date: Feb 2003
Posts: 22
 

Default

Thanks

I think i knew that but I was not paying attention to what you were telling me.

On the other hand it appears this might not work as I want it to work. I have PayPal, Phone Orders and Purchase orders turned on.

So I would need to have a message for each type of payment otherwise a Phone Order would confirm as a Credit Card order etc. I though I could just do this with a variable and some text but it looks like allot more work than i have time to tackle. (don't know how anyway).

Thanks for the effort!

r
Reply With Quote
  #7  
Old 05-08-2003, 02:50 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

just put this in to show payment method

Code:
{$lng.lbl_payment_method}: {$order.payment_method}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
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 11:14 AM.

   

 
X-Cart forums © 2001-2020