# Adding Three new fields in vendor payout field, saving the data in database and then showing that data in wp admin

**URL:** <https://community.hivepress.io/t/adding-three-new-fields-in-vendor-payout-field-saving-the-data-in-database-and-then-showing-that-data-in-wp-admin/8982>\
**Category:** Marketplace\
**Tags:** marketplace, code\
**Created:** [December 29, 2023, 12:28pm UTC](https://community.hivepress.io/t/adding-three-new-fields-in-vendor-payout-field-saving-the-data-in-database-and-then-showing-that-data-in-wp-admin/8982 "2023-12-29T12:28:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arry](https://community.hivepress.io/letter_avatar_proxy/v4/letter/a/a183cd/32.png) [@arry](https://community.hivepress.io/u/arry)\
**Post date:** [December 29, 2023, 12:28pm UTC](https://community.hivepress.io/t/adding-three-new-fields-in-vendor-payout-field-saving-the-data-in-database-and-then-showing-that-data-in-wp-admin/8982/1 "2023-12-29T12:28:10Z")

</div>

I want to add 3 new fields in the vendor payout request page, then store that data in the database, and then show that data in WordPress, How can I achieve this?

---

<div class="post-metadata">

**Author:** ![ihor](https://community.hivepress.io/user_avatar/community.hivepress.io/ihor/32/5_2.png) [@ihor](https://community.hivepress.io/u/ihor)\
**Post date:** [January 3, 2024, 11:00am UTC](https://community.hivepress.io/t/adding-three-new-fields-in-vendor-payout-field-saving-the-data-in-database-and-then-showing-that-data-in-wp-admin/8982/3 "2024-01-03T11:00:20Z")

</div>

Sorry for the delay. It’s possible if you add new fields to the payout model and form, via these hooks:

`hivepress/v1/models/payout`  
`hivepress/v1/forms/payout_request`

Then HivePress will handle validation, storage, etc. You can also add these fields on the back-end via the `hivepress/v1/meta_boxes/payout_settings` hook. You can check some examples here:

[https://gist.github.com/search?q=user%3Ahivepress+models&ref=searchresults](https://gist.github.com/search?q=user%3Ahivepress+models&ref=searchresults)  
[https://gist.github.com/search?q=user%3Ahivepress+forms&ref=searchresults](https://gist.github.com/search?q=user%3Ahivepress+forms&ref=searchresults)

Hope this helps.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [February 2, 2024, 11:00am UTC](https://community.hivepress.io/t/adding-three-new-fields-in-vendor-payout-field-saving-the-data-in-database-and-then-showing-that-data-in-wp-admin/8982/4 "2024-02-02T11:00:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
