-
Notifications
You must be signed in to change notification settings - Fork 92
Create gw-set-product-category.php #566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There are several drop down fields. Each subsequent one is filled from the parent by Term_ID using populate anything. In the feed settings, when using this code, you can not specify in which categories the product will be recorded.
|
Awesome, @zippa71! Just want to make sure I understand...
Is that right? |
Good afternoon. Using this code, the created product will fall into exactly those categories that are selected sequentially. PS |
…mental/gw-gfapc-map-multiple-fields-to-taxonomy.php
|
@zippa71 Thanks for the extra information. I've made some changes to the snippet to bring it inline with our Snippet Library standards (which I'm realizing aren't public 😅). Could you let me know if this is still working for you? |
|
Good afternoon. |
). Could you let me know if this is still working for you? I'm not very good at github, but I really want to help those who come across this problem. If you add this code to your collection, I will be very happy |
|
@zippa71 Looks like you may have closed the PR by accident. I've re-opened it and updated the snippet so that the term IDs are passed as integers. Good catch! With that change, is the new version of this snippet working for you? Planning to merge this into the library as soon as I have your confirmation. 🙂 |
Good afternoon. By the way, When I was looking for a solution to my problem, there was a similar request. Couldn't find it anywhere else. |
|
Thanks for your contribution, @zippa71! |
* Create gw-set-product-category.php There are several drop down fields. Each subsequent one is filled from the parent by Term_ID using populate anything. In the feed settings, when using this code, you can not specify in which categories the product will be recorded. * Update and rename gravity-forms/gw-set-product-category.php to experimental/gw-gfapc-map-multiple-fields-to-taxonomy.php * Update gw-gfapc-map-multiple-fields-to-taxonomy.php Co-authored-by: David Smith <david@gravitywiz.com>

There are several drop down fields. Each subsequent one is filled from the parent by Term_ID using populate anything. In the feed settings, when using this code, you can not specify in which categories the product will be recorded.
Context
⛑️ Ticket(s): https://secure.helpscout.net/link/to/conversation
📓 Notion: https://notion.so/link/to/card
💬 Slack: https://slack.com/link/to/thread-or-message
Summary