Edit Order – Creating New Form Section To Update Item Data
-
I need to do a little customization to the “edit order” page in the dashboard to tailor woocommerce a bit more for my business. I see that each item in an order has its own unique id “data-order_item_id”.
I basically need to add 3 more data fields to each individual item in an order, and be able to update each field as well.
I plan on adding the 3 fields to the DB, add 3 more columns to the “Order Items” table, and create a new section with a form to update this data before the “custom fields” section.
The update form will likely have a drop down to select the item id of the item in the order followed by inputs to update the new custom data I’m adding.
If there are any hooks available to add another section to the edit order page without touching the template please let me know.
Also, if anyone knows which table stores the individual item data for each order please let me know.
- The topic ‘Edit Order – Creating New Form Section To Update Item Data’ is closed to new replies.