Skip Navigation

[Resolved] Possible to have different field group on WooCommerce Products based on category

This support ticket is created 3 years, 5 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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by fred-r.M 3 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#2082257

Tell us what you are trying to do? We use WooCommerce Products for Tours and Bike Rental. Both should use different field groups (additional fields to the standard WooCommerce fields).

Is there the possibility to have one field group for products for Cycling Tours Category and one field group for products for Bike Rental Category?

Is there any documentation that you are following? I didn't found anything useful yet

Is there a similar example that we can see?

What is the link to your site?

#2082561

Hi,

Thank you for contacting us and I'd be happy to assist.

Yes, this is possible and the custom field group offers the "Appears on" setting, which can be set to show it conditionally based on the custom post type, taxonomies, templates, and custom fields:
https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/#conditionally-display-a-group-of-custom-fields

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2084363

My issue is resolved now. Thank you!