Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What can happen if...... c_id or c_default address id


devastator

Recommended Posts

Posted

hi

 

when i have start my oscommerce

 

customers_id was the same as customers_default_address_id

 

by a misterious mistake now both value are not the same.

 

 

whatt is the use of customers_default_address_id

 

 

 

 

 

i have attach an database snapshot

 

 

 

post-318776-0-23176900-1359867187_thumb.jpg

  • v2.3.4 Bootstrap

Age_rectricted_category_v2.3.1.rar

Ajax categories caroussel.rar

ajax content.rar

Ajax whats new and promo.rar

Create Account & Manual Order Maker For OSC 2.3.4 V3.1.rar

install seperate taxe pricing..rar

Posted

Someone correct me if I am wrong.

 

Address id is incremental. so customer 1 gets address id of 1

If customer 1 adds a second address for shipping, then that address id = 2

 

now customer 2 comes along and their default address id =3 because 2 is already used.

 

the address is store in a separate table and is found by the address id number. The default id is what is used as 'default'. Customers can have several addresses in their account. The number of addresses permitted is a setting in admin.

 

Tim

Posted

ok thank you, its what i have think about,

 

this only use for address book.

 

this will never create issue for my addon,

 

thank you knifeman

  • v2.3.4 Bootstrap

Age_rectricted_category_v2.3.1.rar

Ajax categories caroussel.rar

ajax content.rar

Ajax whats new and promo.rar

Create Account & Manual Order Maker For OSC 2.3.4 V3.1.rar

install seperate taxe pricing..rar

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...