Skip Navigation

[Resolved] Product to Product relationship

This support ticket is created 4 years, 3 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 1 reply, has 2 voices.

Last updated by Luo Yang 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1826489
Replacement Products.PNG

Tell us what you are trying to do?
We are migrating our Drupal site to WordPress and looking for Drupal Views replacement in WordPress.

Is there any documentation that you are following?
- We have custom field " Replacement Product image" in drupal and "Entity reference field-> Products" so basically we can attach multiple products to one product and via Drupal view by content URL (Product ID) display them as a block.

Is there a similar example that we can see?
Sure check our current site url
hidden link

What is the link to your site?
hidden link

#1826801

Hello,

I assume you are going to setup many-to-many relationship between posts of same post type "Product".

If it is, there isn't such kind of built-in feature within Toolset plugins, in order to setup Toolset many-to-many relationship, it needs two custom post types, and we do have a plan to implement this feature, but I am not sure when will be released.

How do you setup the post type "Product", if it is Woocommerce product, you can try Woocommerce Related Products feature, see their document:
https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/