Skip Navigation

[Resolved] How to import several relations for same record?

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by BV 5 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1202233

BV

Hello!

If 1 item has several O2M relationships (in my case its city-business and city-pesronal_ads relationships), how to import them via Ultimate CSV Importer? All examples are about case when item has 1 relationship. Actually it's impossible to set more then one - there are only 1 post_relationships_slug.

Pls, don't send me to manuals and don't give standard answers, it's not covered at manuals, I read them all.

#1202786

Hello,

I think it is covered in the document:
https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/import-csv-ultimate-csv-importer-plugin/how-to-import-posts-from-csv-files-and-maintain-relationships-when-using-the-csv-importer-plugin/

hidden link

There is a column "post_relation_slug", you just need to setup different relationship slug for different items.

You can get the relationship slug here:
Dashboard-> Toolset-> Relationships, find and edit the specific relationship.

#1204989

BV

My issue is resolved now. Thank you!