How do we migrate custom product options and tab to the new product editor? #47329
Unanswered
rogercoathup
asked this question in
WooCommerce New Product Editor
Replies: 1 comment
-
Hi @rogercoathup, thanks for the question!
I also recommend looking at our handbook: https://developer.woocommerce.com/docs/product-editor-development-handbook/ Let us know if you have further questions? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With the current product editor, it's a simple process to add custom product options to the editor. We'd hook e.g. on
woocommerce_product_options_general_product_data
to add options to the general tab, and hook onwoocommerce_process_product_meta
to save the options.It was similarly simple to add new tabs (and indeed is the approach of a number of plugins e.g. dynamic pricing, facebook for wp, gravity forms, affiliateWP).
How do we add & save custom product options with the new product editor?
Beta Was this translation helpful? Give feedback.
All reactions