Skip Navigation

[Résolu] Possible to have different field group on WooCommerce Products based on category

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.

This topic contains 2 réponses, has 2 voix.

Last updated by fred-r.M Il y a 1 mois et 2 semaines.

Assigned support staff: Waqar.

Auteur
Publications
#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

Waqar
Supporter

Languages: Anglais (English )

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

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!