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


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

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 – https://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

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.

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