Posted: December 28, 2016 at 7:37 pm
|
Without using WP User Integration how can I accomplish the following in EE4 Single Page Check-Out: |
Hi there, Some of the above items already happen, for example 3E, Contact Address will get an update if they input a different address than what they input previously. Beyond that if you need the other items like populating Contact fields from the billing fields, or also auto populating billing fields directly from stored contact info, you can inquire with a recommended developer to build an add-on to your specification. The add-on could make use of some of the same hooks that the WP User integration uses to change the form inputs during registration and checkout. |
|
|
THX Josh, So it looks like EE4 Contact Address and Payment Address are not currently connected in any manner. Also, it would be great if you can identify any hooks I could use to read/update Contact Address and Payment Address and to auto-fill forms. I’m using Authorize.net AIM |
If you see a place in core code that could use an additional action hook or filter hook, we welcome pull requests on Github: |
|
|
THX again Josh. The 2 hooks look good. Is there any more documentation showing how/where to invoke the hooks. Also, I’m still trying to understand how SPCO handles Attendee and Billing Address Data. So far, it appears Primary Attendee Address Data is updated by the Billing Process (per this content: |
The best place to learn how to use the hooks is by checking the source code to see how those hooks work in the context of the code they are in. The same goes for understanding how SPCO handles the form field data. |
|
|
I will be bleary-eyed reviewing EE code:) It appears the 2 php programs need to be located in /includes/models/ but I can’t find the directory? Also, it would be good if you can confirm if Primary Attendee Address Data is currently updated by the Billing Process. If yes, will that conflict with the new code? |
No, it doesn’t, and that’s not expected. A billing address is just that, a billing address. A Contact address is a separate piece of information. So for convenience, the address information from the primary registrant’s registration form will get passed to the Billing form. If they change the fields there on the billing form, it does not change the data in the Contact record.
I’m not sure where you’re getting this information from, and /includes/models/ isn’t a valid directory. What I can suggest is you contract with a developer that’s familiar with extending Event Espresso. |
|
|
THX Josh, I’m almost where I need to be. Before diving more into the code I’m hoping to get a clearer understanding of how the standard EE4 works pertaining to Contact and Payment Addresses to decide if/what to change (I don’t want to debug 2M lines of code like Nedry in Jurassic Park;) THIS IS MY CURRENT UNDERSTANDING: 3D) Contact Address WILL NOT be auto-filled in Registration Form from Contact List (with exact match of Personal Info) 3E) If changed during Registration, Contact Address WILL be used to update Contact List before Proceeding to Checkout Josh said: Josh said: So for convenience, the address information from the primary registrant’s registration form will get passed to the Billing form. Josh said: If they change the fields there on the billing form, it does not change the data in the Contact record. John Says: This appears to be in context of Billing, but it may be referring to Contact Registration (Confusing?) |
For item 3F, you said it the billing form isn’t autofilled with address details. Does the registration form include address fields? For item 3G, I’ll add some emphasis to what’s mentioned in the product page, and try to explain a bit more: When a registrant’s first name, last name and email address perfectly match that of an existing contact profile, that existing contact address information is also updated to remain as accurate and up-to-date as possible. The context, and where the contact info is checked, is during the registration form step. The billing form information for the payment is not tied to the Contact. |
|
The support post ‘EE4 SPCO Checkout Auto-Fill Address from Contact List (NOT WP User Integration)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.