We have taken over a site that was developed in waves by different agencies over the years and are basically trying to "reset" the back end. WooCommerce had been used to create product listings, then was stripped of all purchasing / order functionality. We wanted to replace this with a Toolset backend. Advanced Custom Fields had been installed, but was only being used for metadata related to "Recipes".
Both WooCommerce and Advanced Custom Fields are disabled and deleted at this time.
After setting up Toolset and creating a "product" type, I noted that the products defined by WooCommerce still existed. I created a field group to hold a couple of URLs and assigned it to "Products", but the fields did not appear when editing a product. I additionally assigned the field group to "pages", and it does not appear there, either. On the Toolset dashboard, it is shown as assigned to both of these groups. Toolset itself is loading on these post types, with the "insert" bar appearing above the WYSIWYG editor box, and showing the field group and fields as options for insertion.
There are no errors in the log or PHP console. All other plugins, wordpress, and PHP are updated.
As a sanity check / update, I did disable all other plugins and change theme to 2024 and still did not see the fields present. I am not used to the block editor, so for confirmation, I enabled one additional plugin (classic editor), and still did not see the fields present. I have since re-enabled other plugins so that I can continue doing work, but wanted to confirm ahead of time that I had taken these steps.
We had a similar report last year that I looked into and struggled to find the root cause.
In that case deleting the field group and recreating it resolved the problem. I wonder if you could try the same.
So:
1. Make a note of your existing field group details (e.g. take a screenshot of the included fields)
2. from Toolset > Custom Fields delete the existing field group.
3. Make a new field group, and before adding any fields assign it to the product post type, then go edit a property post and verify that the empty field group is shown on the post edit screen.
4. Recreate your field group.
When you add a field to the field group note the button "Choose from previously created fields", which you can use to add back your existing fields. Repeat that until you have added back all of the fields.
Does that work?
If not, we will likely need to take a copy of your site for testing. Let us know if that's okay.
The topic ‘[Closed] Field Groups not appearing on any post types in wp-admin’ is closed to new replies.