Skip Navigation

[Resolved] Relationship Post type connect while importing products

This support ticket is created 3 years, 4 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: Africa/Casablanca (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Jamal 3 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1859445

Hi Toolset team
I needed some urgent help to figure out my issue of connecting Relationshop custom post type with Product Post type.

I have created a custom post type "Partner" and connected it with One to Many relationshop. So that I can connect several products with one Partner. and Now the problem that I am facing, I have several Products CSV Files from different -2 Partners and I want to import them to our website but I want to connect partners while Importing the products to woocommerce so that I can our partners can be connected with each product after importing. And if someone visits the partner's page then its connected products can be displayed on Partner page as well using toolset view and some query filter to view only partner specific products.

Please watch the video and help me how I can make it work.
hidden link

#1859839

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello and thank you for contacting the Toolset support.

From the video, I could not know how are you importing the products? Are you using a plugin for that? What plugin?

In the meantime, I'll add below two articles on how to import related products with Toolset and two different plugins:
- https://toolset.com/course-lesson/importing-content-from-csv-with-post-relationships/
- https://toolset.com/course-lesson/import-posts-from-csv-with-relationships-using-wp-all-import/
- https://toolset.com/course-lesson/how-to-import-posts-from-csv-files-and-maintain-relationships-when-using-the-csv-importer-plugin/

Regarding the displaying, please check this article and let me know if you have any questions https://toolset.com/course-lesson/displaying-related-posts/

#1859891

Hi Jamal,
Thank you for your quick response. So I basically use "WordPress Ultimate CSV, XML Importer Pro" and in the products post type will have several custom fields to map custom products data. So Please tell me if the above Plugin can keep the relationship of posts

#1859901

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello Manish,

Yes, the plugin can import relationships too. Please follow this tutorial regarding relationships:
https://toolset.com/course-lesson/how-to-import-posts-from-csv-files-and-maintain-relationships-when-using-the-csv-importer-plugin/

And this tutorial regarding the import of custom fields:
https://toolset.com/course-lesson/import-content-csv-importer-plugin/

Let me know if you have any questions.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.