joho Posted April 28, 2011 Share Posted April 28, 2011 The ps_address table hold addresses. And it seems like if a customer (or admin) changes an address, it will create a new record for the changed address, and update the "deleted" column to a value of '1'. The "active" column doesn't seem to change, however, I've only found values of '1' in there.Can someone confirm that this is how PS works?Also, it seems like when orders are created, the ORIGINAL record number (id_address) is used in ps_orders.How is that supposed to work.I have four addresses for customer '2' in ps_address. The first one has an "id_address" column value of '3'. It seems like all orders I create while logged in as that user are created with an "id_address" column value of '3'. But that record is flagged as deleted. My currently active address is on record '11'.(It's so sad that there aren't better developer and API docs available) Link to comment Share on other sites More sharing options...
joho Posted April 28, 2011 Author Share Posted April 28, 2011 Looking at this .. I'm thinking this could quickly get out of hand.A new order that I create does indeed get the correct record number for the address record. PS does, however, not update exisiting non-invoiced orders with address changes. Link to comment Share on other sites More sharing options...
Burhan BVK Posted April 28, 2011 Share Posted April 28, 2011 Once a customer checks out, they can not change the address. The updated address can only be used in the new orders. That is why a new entry is created each time you update an address.Only the admin can change the address in an existing order. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now