Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Invoice: Bill to Primary Attendees of other specific event | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Invoice: Bill to Primary Attendees of other specific event

Invoice: Bill to Primary Attendees of other specific event

Posted: October 10, 2013 at 1:23 pm

Viewing 3 reply threads


Marco Genovese

October 10, 2013 at 1:23 pm

As can be seen from the title of the topic, I’d like that in the ‘Bill to:’ of the invoice, there is the primary participant of another specific event previously recorded

Let me explain: I have an event where I record the agencies and they also become wordpress users.

Then, these agencies access into site using username and password and purchase events for other people. So the invoice, under the heading ‘Bill to:’ should be made ??out to agencies.

I tried to edit the query in the file template.php of invoice but does not work.
Can you give me a hand to solve this problem?

Thanks in advance.

Best Regards


Dean

  • Support Staff

October 11, 2013 at 1:17 am

Hello Marco,

This is a customisation beyond support, you would need a developer to assist you with this as it would probably require pulling the address details from the user profile and having that change the invoice template.

It gets complicated though as the user may access the invoice details from the email etc without being logged in, so you would need some sort of system to block or react to this.

Our recommended developers can be found here – http://staging.eventespresso.com/developers/event-espresso-pros/


Marco Genovese

October 11, 2013 at 1:42 am

Hi Dean,
thanks for the reply!

However, the user (Agency) who buys the event is already logged in and its details are already registered in another event.

What I need is to query the event where there are the details of the agency and print them on the invoice into field ‘Bill to:’


Dean

  • Support Staff

October 11, 2013 at 2:55 am

Hi,

As mentioned its probably better to query the profile. If you have WP User Integration active, and request address details from the Agency events, it will add the address to the profile, which with some custom development could be obtained to show in the invoice.

Alternatively you could do a database query based on the events_attendee table using the event id to get the data you need.

Hope that helps.

Viewing 3 reply threads

The support post ‘Invoice: Bill to Primary Attendees of other specific event’ 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.

Event Espresso - Staging Server