Question about customers - why are customer tables empty?
Posted: 03 Mar 2017, 11:10
Hi,
I was spent a lot of time to research why customers table are empty.
I found the logic how you store addresses for customers from the checkout page in the orders table. It stored in there anyway the user chose to register an account or not on the checkout last page.
I want to make a profile page where you can add or modify any of addresses what they have in the system for billing or shipping, and I want these addresses make selectable on checkout address page.
I found customer/address manager what is ready and fully functional how i see, but never used to store addresses in mshop_customer_address table on the checkout process.
I would like to ask some help which method I have to choose:
1-if somebody registering an account on checkout process i have to search in the orders table for any stored addresses to the user and where to store if the user want to add another address to his account or change an existing address ?
In this case what happens if somebody delete the order from extadm (with stored addresses)?
2-i have to change the core checkout process and if somebody registering on checkout process i have to store it in customer table and its easyly manage on profile page because addresses are independent from any existing orders. But the core changes in this case and on an update its possibily disappear from core if any file updated by you guys.
Thank you for any help or idea!
George
I was spent a lot of time to research why customers table are empty.
I found the logic how you store addresses for customers from the checkout page in the orders table. It stored in there anyway the user chose to register an account or not on the checkout last page.
I want to make a profile page where you can add or modify any of addresses what they have in the system for billing or shipping, and I want these addresses make selectable on checkout address page.
I found customer/address manager what is ready and fully functional how i see, but never used to store addresses in mshop_customer_address table on the checkout process.
I would like to ask some help which method I have to choose:
1-if somebody registering an account on checkout process i have to search in the orders table for any stored addresses to the user and where to store if the user want to add another address to his account or change an existing address ?
In this case what happens if somebody delete the order from extadm (with stored addresses)?
2-i have to change the core checkout process and if somebody registering on checkout process i have to store it in customer table and its easyly manage on profile page because addresses are independent from any existing orders. But the core changes in this case and on an update its possibily disappear from core if any file updated by you guys.
Thank you for any help or idea!
George