Jakub.P Posted October 11, 2017 Share Posted October 11, 2017 (edited) Hello, It is possible to change addresses of all group customers to one specific address ? for example I have 4 customers with different addresses and when they associate in one group, they will have only 1 specific address ? And address can be pre-created in database with specific ID but how to connect it to the group and in order/checkout rewrite all customer addresses to the one associated with group ID ? Thank you. Edited October 18, 2017 by Jakub.P (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted October 15, 2017 Share Posted October 15, 2017 Addresses are assigned to a specific customer, so you cannot simply create 1 address in the database and assign it to multiple customers. You will need to add the address multiple times, one for each customer in this group Link to comment Share on other sites More sharing options...
Jakub.P Posted October 16, 2017 Author Share Posted October 16, 2017 Yes ok but every customer will have its own address its ok. But on the moment he joins the group the specific address data from the address we want to "assign" ( we just tell for example address id 11 is for group id 25 ) to a group will be rewritten to every member of that group. So it might be possible like that or not ? ( with web-services ofcourse ), Link to comment Share on other sites More sharing options...
bellini13 Posted October 16, 2017 Share Posted October 16, 2017 you can create a module that will "watch" for new customer registrations, and can then update their address when joined to the required group. Link to comment Share on other sites More sharing options...
Jakub.P Posted October 18, 2017 Author Share Posted October 18, 2017 Ok that was I needed to know. thanks 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