Jump to content
Sign in to follow this  
hobbyhen

ADD TAX ID NUMBER TO CREATE_ACCOUNT.PHP

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?


John Oligario

 

Knowledge Base Contributions

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×