osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

New Customer and shipping address problem

This is a discussion on New Customer and shipping address problem within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; When a new customer creates an account, for some reason the script is not automatically setting their address as the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-26-2004, 02:11 PM
New Member
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
LSVF
Default New Customer and shipping address problem

When a new customer creates an account, for some reason the script is not automatically setting their address as the "primary" address. After creating the account and clicking on continue, nothing shows -- no name, no address -- nothing, hence no shipping info shows either. However, if you goto my account, edit shipping/address book, click on the edit button next to the address, the "set as primary shipping address" box is unchecked. If you check this, everything now works fine.

Can someone tell me what I need to change so that this is no longer a problem? Many thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-26-2004, 03:25 PM
New Member
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
LSVF
Default

Anyone?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-01-2004, 04:39 PM
New Member
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
LSVF
Default

Has anyone out there had this problem? I have tried all that I know and I still can't get it to work right.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-01-2004, 06:33 PM
New Member
 
Join Date: Jan 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
obewanz
Default

LSVF,
Try checking the code in the file named create_account.php and around line 209 see if it compares with the following code:

Quote:
$address_id = tep_db_insert_id();

tep_db_query("update " . TABLE_CUSTOMERS . " set customers_default_address_id = '" . (int)$address_id . "' where customers_id = '" . (int)$customer_id . "'");

tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . (int)$customer_id . "', '0', now())");
You can insert an echo statement to check the value of $customer_id and $address_id before they get inserted. It will cause an error as the headers won't be able to be written, but you can check your sql syntax and the values to make sure they are getting properly assigned to the appropriate variables.

If nothing else, hope this gets you on the right track.

L8ter,
Obewanz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-04-2004, 11:59 AM
Anonymous
Guest
 
Posts: n/a
Default

I am having the same problem, came here searching for an answer! I have tried everything!!!!

The address is getting written to the databases - it is just not showing up when you place an order or other areas that it should show up.

I compared my code to what obewanz posted above. I could see no difference.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-04-2004, 12:05 PM
New Member
 
Join Date: Feb 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Bsnrjones
Default

Quote:
Originally Posted by Anonymous
I am having the same problem, came here searching for an answer! I have tried everything!!!!

The address is getting written to the databases - it is just not showing up when you place an order or other areas that it should show up.

I compared my code to what obewanz posted above. I could see no difference.
That last post was from me! I forgot to sign in before replying. I sure hope someone has a solution!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-05-2004, 07:45 AM
Anonymous
Guest
 
Posts: n/a
Default

Thanks Obewanz. After that didin't work, I just re-uploaded files I had changed and started all over again. All works now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
customer address required only ogilirca osCMax v2 Customization/Mods 4 01-02-2007 11:24 AM
shipping address problem? tom344 osCMax v2 Installation issues 2 06-21-2006 04:24 PM
New Shipping Address problem mucholoco osCommerce 2.2 Discussion 1 04-30-2006 04:52 PM
customer cannot edit address battleaxe osCommerce 2.2 Modification Help 0 09-08-2005 03:27 AM
The ship to address is missing for the customer shawnfunn osCommerce 2.2 Installation Help 0 02-08-2005 02:32 PM


All times are GMT -8. The time now is 09:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax