| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add RA# to checkout and order info | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to add an extra field (an RA#) that will be initially populated from a session variable that will be displayed at checkout, in the customers order info, and definitely stored in the database so it can be referenced via the orders section. I figure it would be easiest to add the field directly to the order table, I just am unable to figure out where in the code I could add something like this in so it does get saved.
__________________
X-Cart 4.2.1 X-Cart 4.4.x X-Cart 4.5.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() Seems I have solved my own problem to a point, here's what I did:
-Added new field 'ranumber' to 'xcart_order_details' table -Added new line in func.order.php (711) Code:
Next steps for me is to add the functionality to display the RA# in the cart, invoice, and orders pages which will be a piece of cake after this.
__________________
X-Cart 4.2.1 X-Cart 4.4.x X-Cart 4.5.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|