alexm Posted September 19, 2022 Share Posted September 19, 2022 This is just a general question really as I'm intrigued, but can't seem to figure out if it's possible. I have my own customer accounts using LoginRegister module. Now I could use custom customer form for confirmation, but currently I'm just rendering the in built customer form whilst I'm doing some development and I'm wondering if you can pass initial values to to order customer fields. In my case I could populate the billing and shipping fields with the customer who is logged in then. As I say, just intrigued if it's possible with the inbuilt form. Cheers 1 Link to comment Share on other sites More sharing options...
kongondo Posted September 23, 2022 Share Posted September 23, 2022 Hi @alexm, This is now possible in version 006 released today. You can hook into PadloperProcessOrder::getOrderCustomer. Demo code is here including comments in the code and a README. Give us a shout if you need further help with it. 1 Link to comment Share on other sites More sharing options...
alexm Posted September 24, 2022 Author Share Posted September 24, 2022 @kongondo you're on a roll! Was this coincidental timing!? Haha. Thanks 1 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