Displaying the VAT ID and/or International ID on Invoices and Customer Emails

Last Updated: Nov 26, 2018 01:58PM EST
In ProductCart, VAT enabled stores can capture a customer VAT ID and/or International ID.

We understand that some stores will need these details displayed on Invoices but many stores have privacy requirements, so the VAT ID and International ID are not displayed on Invoices or Emails by default. The ability to show those Fields on the Invoice is set through a “flag” in the file “ordInvoice.asp” in your 'admin' folder. If you were to look at the file in Notepad or another editor, you'll see the following sections of code:

 
'///////////////////////////////
'// SHOW VAT ID 
'// Change "0" to "-1" to show
'///////////////////////////////
pcv_strShowVatId=0 ' -1
'///////////////////////////////


'///////////////////////////////
'// SHOW INTL. ID 
'// Change "0" to "-1" to show
'///////////////////////////////
pcv_strShowSSN=0 ' -1
'///////////////////////////////

To show the corresponding variable on the Invoice, change the variable to “-1” and the relevant details will be displayed on the invoice. Note: In order for the information to be shown on the Invoice, you will also need to have the following selections enabled on your VAT Settings page:
 
  • Display VAT ID?
  • Display National Indentification Number?

The customer must have entered the information during the registration and checkout process.



 
647e99095133bd6d1ae916f97dc7f92f@productcart.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete