Skip Navigation

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

This support ticket is created hace 3 años, 5 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por fred-r.M hace 3 años, 5 meses.

Asistido por: Waqar.

Autor
Mensajes
#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!