Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Invoice Shipping Address


hoprick

Recommended Posts

Posted

Hello all,

 

Is there a way I can get the 'Ship To' and 'Bill To' address in the invoice/packing slip to display the Customers Title? I've looked at the code side for the page and can see that the information is called from the table.orders, does this just reflect what is entered into the customers details when the order is placed or do I have a large number of pages to alter?

 

The way I have the Titles set up is just as extra options for gender. Instead of radio buttons displaying Male/Female, they now display Mr, Mrs, Miss etc and work exactly the same way (this obviously being changed across create_account, account_info and admin/customers.

Posted

Just thought.. An easier to understand question, with all previously said in mind:

 

Is there a way to have the 'Gender' field on OSCommerce displayed in the address fields on the invoice?

Posted

@@hoprick

 

You could add the title a few different ways...

 

1. add a column to your orders table that would contain the data, query the for the data when an order is placed, insert that data into the orders table in checkout_process, add some code in your admin/includes/classes/order.php file to grab that info, use the order class to display it on the invoice before the name.

 

2. add a query on the invoice page that grabs the info and insert it before the name (much simpler - 5 minutes to complete).

Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...