I use both the APC and Gravity Wiz Populate Anything here so I don’t know if this is an issue for this forum or for the wizard.
I am creating WooCommerce products from a gravity form, and is populating available categories in a drop down. If I set these with value “Name” it gets added as expected. But if i set them with value “Term ID” a new category is added with that number. For example is the new product added to a category namned “202” which is the term id for the category that is supposed to be correct.
The thing is that every category have sub-categories and these are populated in checkboxes when I select the parent category in the drop-down. And this population works great if I have the value as Term ID, but does not work if i set the drop down values with the name. Then I get all available terms in the checkboxes.
Do you see the issue here. Get the population right, but the post creation wrong. Or get the post creation right but the population of subcategories wrong.
- How do I add a post to a category by the category ID?
- How do I filter subcategories by the parent category name? (I can select this in the settings för Populate anything, but it does not seam to work.)