[Resolved] import custom post with two relationships using ultimate csv importer pro
This support ticket is created 3 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
rewritten the csv using post id instead of title (the ultimate csv pro export is outputting the relationship slug as the post title and not an id)
the posts titles are in hebrew with spaces
but when i imported with id as relationship slug, it added the relationship post parent to the existing one
ultimate csv importer pro is outputing the types_relationship as the title
importing a custom post (street) that have 2 different relationships to 2 custom posts (city,delivery-condition).
the rel' parent post titles are in hebrew and with spaces
חיפה איזור 1
חיפה איזור 2
חיפה איזור 3
U-CSV-I-PRO output the types_relationship field as the parent title - not the id
when trying to import back, the types_relationship field with posts-titles with spaces - the rel' isn't set
i must manually translate the types_relationship field outputted as titles into the corresponding post id
when importing types_relationship with post id everything works fine
when importing types_relationship with titles without spaces (in hebrew char) - works fine
so it is an issue to:
export custom post with relationship using "ultimate csv importer pro" - types_relationship outputted as title with spaces
then import back - while leaving types_relationship field as is (חיפה איזור 1)
Hello. Thank you for contacting the Toolset support.
Have you checked how you can prepare the CSV and import it with post relationship:
=> hidden link
If yes and you find it its not working as expected:
Can you please contact the Ultimate CSV Importer pro support as that is a third party plugin and all the control of import process is on the Ultimate CSV Importer Pro author.
Would you mind to contact them and if they will find any bugs, they will contact us on your behalf or even you can update us here.
is there any problem with importing a types_relationship field with post title as the "identifier" (instead of post_id)?
when its one word its working (like ״חיפה״).
when there is spaces in the parent post title (like ״חיפה אזור 1״) then the import process doesn't set the relationship.
is "outputting a post title" by toolset design?
does spaces with non-latin char as parent post "identifier"
is there a toolset tool to export 1 example of the cpt then import 3000 custom post items with relationship many to one?
when its one word its working (like ״חיפה״).
when there is spaces in the parent post title (like ״חיפה אזור 1״) then the import process doesn't set the relationship.
==>
As you confirm that it works when it's a one work and its broken when there is a space in the title, could you pass all this information to CSV importer pro support please as they are taking care of the CSV input content.
does spaces with non-latin char as parent post "identifier"
==>
It should work, you should try to create test post with non-latin chars manually from admin and try to connect it, if that works the CSV import should also work.
is there a toolset tool to export 1 example of the cpt then import 3000 custom post items with relationship many to one?
==>
No, there is no such Tool available.