main and child events import

  • Florian F.
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 weeks 15 hours ago #176064 by Florian F.
main and child events import was created by Florian F.
Hi,
how does EventBooking define that the first date of a multi-day exhibition is considered the main event, while all other dates are treated as child events?
Which field or combination of fields establishes this parent/child structure in the import file?Any insight on how EventBooking handles this would be greatly appreciated.

Thx and regards

Please Log in or Create an account to join the conversation.

More
4 weeks 8 hours ago #176065 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic main and child events import
It is controlled by parent_id field.

- For parent event, parent_id = 0. Also, event_type = 1
- For children events, parent_id = ID of the parent event. And event_type = 2

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Florian F.
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 weeks 1 hour ago #176069 by Florian F.
Replied by Florian F. on topic main and child events import
Hi Tuan, thx.

My EventBooking Excel example export doesn’t include parent_id or event_type at all.
If I want to import real parent/child events:

Do I just add these columns to the Excel file myself?
Or does the importer ignore them because they aren’t part of the export template?

Basically I’m trying to figure out whether:

the Excel importer supports parent_id / event_type, or

recurring events can only be created inside the EventBooking backend.

Thanks again!

Please Log in or Create an account to join the conversation.

More
4 weeks 1 hour ago #176071 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic main and child events import
Hello

Yes. You can add these columns yourself

Also, since the child events need to know ID of parent event. So you will need to import parent events first before importing children events

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc