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

Purchase Order On Invoice

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-12-2011, 06:09 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default Purchase Order On Invoice

Hello Great Forum Support

I did find the results to change the text and the required fields for the purchase order.

What I need now is to show those fields on the invoice.

Is there a way to do this?

I see when I go to the back end the information is visible to the admin at the following
Order details (not visible to customer and provider):

However, I need the orders department to see them when they get the order e-mail and the customer needs to see the information on the invoice.

I do have the correct labels on the invoice. What I do not know is where the label is for the data that is put into the PO fields. It does show on the bottom in the back end so it must be available somewhere.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #2  
Old 04-12-2011, 01:37 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Purchase Order On Invoice

These data is available to admin only by default. You need to modify the php file responsible for showing the invloice. Also be careful and make sure that you enable only PO info and not any of the other payment methods - it is consider payment method and it is all encrypted
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 04-13-2011, 02:35 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default Re: Purchase Order On Invoice

Hello

Thank you for the reply.

On this cart the orders department needs to see three of the items of the PO fields on the invoice so they can match the order when shipping.

I have the labels on the html invoice now all I need is to place the data that the user added to the fields.

Where is that info coming from? If it is added to the admin order I should be able to get it from somewhere.

Every day I uncover mysteries of x-cart that I never knew existed.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #4  
Old 04-13-2011, 03:13 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Purchase Order On Invoice

PO is a payment method. All its info is encrypted and stored in orders tables in the database. It is decrypted and show for admin only. If you want customers to see it or anybody else besides admin you need to change this by modifying php code
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 04-13-2011, 03:41 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default Re: Purchase Order On Invoice

Hello

OK, Now i get it.

As a payment method it would be encrypted as you say and that is why only the admin can see it.

On this site the only way to purchase the items is with a PO there is never a CC or any other payment option.

Do you know what PHP file to edit?
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #6  
Old 04-13-2011, 09:52 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Purchase Order On Invoice

Done this before but can;t remember right now on top of my head... start with history_order.php, could be in one of the functions in func.order.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 04-13-2011, 10:50 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default Re: Purchase Order On Invoice

Hello

Secrets of X-cart!

I looked for the files but did not find them.

Where does one start to look for the file? I thought it may be under payment. Not there.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #8  
Old 04-13-2011, 05:21 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Purchase Order On Invoice

/include/history_order.php
/include/func/func.order.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 04-14-2011, 04:03 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default Re: Purchase Order On Invoice

Hello Again

Thank you for your help. Now can see if I can get this thing going.

I would have never found it.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #10  
Old 06-27-2011, 12:16 AM
 
adriant adriant is offline
 

Senior Member
  
Join Date: May 2006
Posts: 190
 

Default Re: Purchase Order On Invoice

did you manage to do this?
__________________
Xcart gold Plus V4.7.12
REBoot(REdux)

https://www.serpro.co.uk
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 08:18 AM.

   

 
X-Cart forums © 2001-2020