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)
-   -   Print Invoice Problem (https://forum.x-cart.com/showthread.php?t=3136)

xcartgolduser 06-11-2003 06:34 AM

Print Invoice Problem
 
When we go into an order and click print invoice - we would like to remove the billing address from what is printed out - we simply want the shipping address only.

What do I edit to take it out? I got it off the order page itself, but the print invoice (text based) page still has the billing. Let me know. Thanks

shan 06-11-2003 06:39 AM

skin1/main/order_invoice_print.tpl

xcartgolduser 06-11-2003 07:52 AM

What do I edit/remove to exclude the billing address?

kpriest 06-11-2003 04:44 PM

Actually, skin1/main/order_invoice_print.tpl references skin1/mail/order_invoice.tpl - that's the one you need to edit. (x-cart gets pretty unnecessarily convoluted sometimes!) Remove the following:

Code:

{$lng.lbl_billing_address}:
----------------
  {$lng.lbl_address}:    {$order.b_address}
  {$lng.lbl_city}:      {$order.b_city}
  {$lng.lbl_state}:      {$order.b_statename}
  {$lng.lbl_country}:    {$order.b_countryname}
  {$lng.lbl_zip_code}:  {$order.b_zipcode}


xcartgolduser 06-12-2003 04:30 AM

Got it - thanks a lot!


All times are GMT -8. The time now is 01:15 PM.

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