Support

Home Forums Event Espresso Premium List only additional attentee

List only additional attentee

Posted: February 8, 2019 at 10:25 am


terabit

February 8, 2019 at 10:25 am

Hi there,

I am so sorry to keep bothering you but I checked your DB structures. Just have no clue how to list of the attendees who is not a primary registration.

Can you help? please and thank you very much.
Yen


terabit

February 8, 2019 at 12:59 pm

Hi there,

any news? please help.

Thanks


Josh

  • Support Staff

February 8, 2019 at 2:31 pm

Hi,

One way would be to use query that’s similar to the one in this snippet:

https://eventespresso.com/wiki/useful-php-code-snippets/#attendee-list

then add an AND clause to get only attendees that have esp_registration.REG_count of 2 or more. In other words, the Primary attendee will have esp_registration.REG_count of 1.

The support post ‘List only additional attentee’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 6 months, 2 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!