Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello,

 

I've got the OSC 2.2 RCA 2 installed. with the addon :

<!--BOF for VAT INTRACOM_v3.3 //-->

This module gives customers the possibility to register a company name and a VAT number.

 

Now i want to show the company name and the VAT number on the invoice. the data can be found in the ORDERS table and are called: billing_company and billing_tva_intracom

 

My php knowledge is not superb. i've tried to put in somethink like below:

 

<?php echo BILLING_TVA_INTRACOM; ?>

 

or

 

<?php echo $order->customer['TVA_INTRACOM']; ?>

or

 

<?php echo $order->TVA['INTRACOM']; ?>

 

But these codes won't give a result on my invoice page. Can anyone explain me how to show the company name and VAT number on my invoices?

  • 4 months later...
Posted

Can anyone help me ?

 

I want to echo (appear) the ENTRY_COMPANY_TAX_ID on order e-mail submited.

 

I tried to find the correct var by typing

 

<td class="main"><b><?php echo ENTRY_COMPANY_TAX_ID; ?></b></td>

<td class="main"><?php echo $order->customer['entry_company_tax_id']; ?></td>

 

but with no success..

 

anyone help please??

  • 2 weeks later...
Posted

Apart from adding the code to display the information, have you also added an sql query to get the information from the database.

REMEMBER BACKUP, BACKUP AND BACKUP

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...