Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ADD TAX ID NUMBER TO CREATE_ACCOUNT.PHP


Guest

Recommended Posts

tax id is optional, it all depends upon if you are going to do wholesale, etc. lots more proggramming to do to make that work tho.

what are you trying to accomplish?

Link to comment
Share on other sites

  • 1 year later...
tax id is optional, it all depends upon if you are going to do wholesale, etc. lots more proggramming to do to make that work tho.

what are you trying to accomplish?

 

I need this contribution, since i have worked the hard way to find a contribution like this.

 

But the build has errors. I get this:::

 

 

1054 - Unknown column 'entry_ein' in 'field list'

insert into address_book (customers_id, entry_firstname, entry_lastname, entry_street_address, entry_postcode, entry_city, entry_country_id, entry_ein, entry_company) values ('33', 'sxdfsdfsd', 'sdfsdfsdf', 'aesfadafdd 6', '2344', 'dsadfasdfasdf', '57', 'dk12345678', 'adadasd')

[TEP STOP]

 

... When I try to sign up.

 

Any help would be nice :thumbsup:

 

Thanks.

Link to comment
Share on other sites

  • 4 months later...
I need this contribution, since i have worked the hard way to find a contribution like this.

 

But the build has errors. I get this:::

1054 - Unknown column 'entry_ein' in 'field list'

insert into address_book (customers_id, entry_firstname, entry_lastname, entry_street_address, entry_postcode, entry_city, entry_country_id, entry_ein, entry_company) values ('33', 'sxdfsdfsd', 'sdfsdfsdf', 'aesfadafdd 6', '2344', 'dsadfasdfasdf', '57', 'dk12345678', 'adadasd')

[TEP STOP]

 

... When I try to sign up.

 

Any help would be nice :thumbsup:

 

Thanks.

 

If you're talking about the Tax_Id_Ein contribution (that's what the zip file is, don't remember what it's called in the actual contribution page), i'm still working on installing it, but one thing i did notice was the instructions in the catalog_admin_customers.php file were incomplete. It ends with

FIND
$sql_data_array = array('entry_firstname' => $customers_firstname,
						 'entry_lastname' => $customers_lastname,
						 'entry_street_address' => $entry_street_address,
						 'entry_postcode' => $entry_postcode,
						 'entry_city' => $entry_city,
						 'entry_country_id' => $entry_country_id,

and doesn't complete the instructions.

 

I'm thinking what you want to do is find that code (mine was around line 170), and add the entry_ein so that the whole block of code looks something like this...

$sql_data_array = array('entry_firstname' => $customers_firstname,
							'entry_lastname' => $customers_lastname,
							'entry_street_address' => $entry_street_address,
							'entry_postcode' => $entry_postcode,
							'entry_city' => $entry_city,
							'entry_country_id' => $entry_country_id,
							'entry_ein' => $entry_ein);

 

I hope this helps. I'm going to probably finish this up tonight or tomorrow so i'll see if i run into that same error.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...