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.

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Josh 1 week, 6 days ago ago

Topic Tags

Notifications

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