Events Calendar CSV import with ACF fields

Home Forums Calendar Products Events Calendar PRO Events Calendar CSV import with ACF fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1155550
    Martin
    Participant

    Trying to import a large number of calendar events via CSV. For this implementation, we also need to add a few custom fields (using ACF) and tie the event to two custom taxonomies. I see that per the docs we can get the CSV importer to also import data into the “additional fields” added directly through the plugin but is there any way to use the CSV import to populate ACF fields?

    #1155680
    Brook
    Participant

    Howdy Martin,

    I would love to help you with this.

    Unfortunately the CSV importer only supports “additional fields” that are created by our plugin, it does not support “custom fields” such as those used by ACF.

    What you might be able to do is write your own miniature plugin/script that will fire off when a post is saved. Basically you could use the action save_post_tribe_event to alter an imported event when it gets saved. You could setup an additional field that imports the data for your custom field. When you import map the data to the additional field. In your script, check if that field is present, if it is save it to the custom field area (either as well or instead, the choice is yours). This might require a ~couple hours of dev time to write something up and test it to get it working right. It will certainly require a decent knowledge of PHP to write.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1165194
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Events Calendar CSV import with ACF fields’ is closed to new replies.