Skip Navigation

[Resolved] Creating Custom Woocommerce Linked Products Field

This thread is resolved. Here is a description of the problem and solution.

Problem: I am trying to add a custom field to a WooCommerce product that autocompletes the field input based on already saved products.

Solution: As of today, it is not possible with Toolset and it will require extending WooCommerce. It would need some custom coding to make it happen. We have some recommended list of service providers here if you would like to take a look: https://toolset.com/consultant/

However, it's possible to Add Custom Fields and Taxonomies to WooCommerce Products: https://toolset.com/learn/create-an-ecommerce-wordpress-site/create-custom-fields-and-taxonomies/

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.

Our next available supporter will start replying to tickets in about 6.41 hours from now. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by marcusC-4 4 years, 6 months ago.

Assigned support staff: Noman.

Author
Posts
#521885
linked-products.png

I am trying to add a custom field to a WooCommerce product that autocompletes the field input based on already saved products.

This functionality already happens in WooCommerce in the "Linked Products" area of a simple product when you start typing to choose a Cross-Sell or Upsell product. I have attached a screenshot for your reference.

I need to be able to create a couple of new fields that act the same way that the Cross-Sell & Upsell fields do, allowing me to choose existing products as "Pre-Requisite" or "Next" products.

I would then use a custom layout to display the pre-requisite & next products on the product description (single) page.

Is this possible with Types?

#522006

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Marcus,

Thank you for contacting Toolset support.

Unfortunately, it is not possible with toolset and it will require extending WooCommerce.
I also tried to look for a better workaround but could not find anything matching to your case. It would need some custom coding to make it happen. We have some recommended list of service providers here if you would like to take a look: https://toolset.com/consultant/

Have a great day.
Thank you

#525228

Ok. Thanks for the info, Noman.