Skip Navigation

[Gelöst] Possible to have different field group on WooCommerce Products based on category

This support ticket is created vor 3 Jahren, 5 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von fred-r.M vor 3 Jahren, 5 Monaten.

Assistiert von: Waqar.

Author
Artikel
#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!