# How to show order details like adress phone number etc on order received?

**URL:** <https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089>\
**Category:** Marketplace\
**Tags:** marketplace\
**Created:** [September 28, 2022, 3:26pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089 "2022-09-28T15:26:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert01](https://community.hivepress.io/letter_avatar_proxy/v4/letter/r/bb73d2/32.png) [@Robert01](https://community.hivepress.io/u/Robert01)\
**Post date:** [September 28, 2022, 3:26pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/1 "2022-09-28T15:26:37Z")

</div>

there is a way to add more information about the costumer after clicking on the order inside tab “Order Received” below the total price of the order?

---

<div class="post-metadata">

**Author:** ![yana](https://community.hivepress.io/user_avatar/community.hivepress.io/yana/32/983_2.png) [@yana](https://community.hivepress.io/u/yana)\
**Post date:** [September 29, 2022, 1:15pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/4 "2022-09-29T13:15:35Z")

</div>

Please, follow this doc on [How to customize emails - HivePress Help Center](https://help.hivepress.io/article/125-how-to-customize-emails) and try using tokens to add any details of your choice to the email.

---

<div class="post-metadata">

**Author:** ![Robert01](https://community.hivepress.io/letter_avatar_proxy/v4/letter/r/bb73d2/32.png) [@Robert01](https://community.hivepress.io/u/Robert01)\
**Post date:** [September 30, 2022, 12:30pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/5 "2022-09-30T12:30:50Z")

</div>

isn’t possible to add this infomations on the received orders? some code snippet ? I found this link but I dont know how to customize [php - How can I get customer details from an order in WooCommerce? - Stack Overflow](https://stackoverflow.com/questions/22843504/how-can-i-get-customer-details-from-an-order-in-woocommerce)

---

<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:** [October 1, 2022, 10:27am UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/7 "2022-10-01T10:27:29Z")

</div>

If you mean the New Order email received by the customer unfortunately there’s no way to customize it via HivePress since this email is entirely implemented in WooCommerce. HivePress adds multi-vendor features to WooCommerce so it implements the vendor-specific emails only (e.g. the New Order email received by the vendor when the order is paid, you can customize it in HivePress/Emails).

---

<div class="post-metadata">

**Author:** ![Robert01](https://community.hivepress.io/letter_avatar_proxy/v4/letter/r/bb73d2/32.png) [@Robert01](https://community.hivepress.io/u/Robert01)\
**Post date:** [October 1, 2022, 1:17pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/8 "2022-10-01T13:17:51Z")

</div>

hi @ihor I’m referring to this space on My Account \> Received Orders \> Order #3048

is possible to add more costumer information on this space?

 ![order details](https://community.hivepress.io/uploads/default/original/2X/6/63865e946c1826fe5663f45af7e7acecbc8fbdc8.png)

---

<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:** [October 3, 2022, 5:54pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/10 "2022-10-03T17:54:35Z")

</div>

Sorry for the late reply. Yes, it’s possible but requires customizations - let me know which specific details are required there, maybe we plan to add them. If you mean showing customer address and other personal details, you can enable this in HivePress/Settings/Orders, then vendors will see the customer address, phone number, etc.

---

<div class="post-metadata">

**Author:** ![Robert01](https://community.hivepress.io/letter_avatar_proxy/v4/letter/r/bb73d2/32.png) [@Robert01](https://community.hivepress.io/u/Robert01)\
**Post date:** [October 3, 2022, 10:32pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/11 "2022-10-03T22:32:07Z")

</div>

Hi @ihor thanks for your reply, I enable the option on HivePress/Settings/Orders, but  
I’m using this code snippet to create a custom field on register form:

```auto
add_action(
	'hivepress/v1/models/user/register',
	function( $user_id, $values ) {
		if(isset($values['first_name'], $values['last_name'])){
			update_user_meta($user_id, 'first_name', $values['first_name']);
			update_user_meta($user_id, 'last_name', $values['last_name']);
			update_user_meta($user_id, 'hp_telefone', $values['telefone']);
			update_user_meta($user_id, 'hp_cpf', $values['cpf']);
		}
	},
	10, 
	2
);

add_filter(
	'hivepress/v1/forms/user_register',
	function ( $args, $form ) {
		$args['fields'] = array_merge($args['fields'], [
			'first_name' => [
				'label' => 'Nome',
				'type' => 'text',
				'required' => true,
				'_order' => 1,
			],
			
			'last_name' => [
				'label' => 'Sobrenome',
				'type' => 'text',
				'required' => true,
				'_order' => 2,
			],
			
			'cpf' => [
				'label' => 'CPF',
				'type' => 'text',
				'required' => true,
				'_order' => 3,
			],
			
			'telefone' => [
				'label' => 'Telefone',
				'type' => 'phone',
				'required' => true,
				'_order' => 4,
			],
			
		]);

		return $args;
	},
	10,
	2
);

```

How to show this custom field “cpf” on the space enabled by HivePress/Settings/Orders?

---

<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:** [October 4, 2022, 5:42pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/13 "2022-10-04T17:42:41Z")

</div>

This would require customizations via the order totals filter [php - Add a new row in order totals for Woocommerce Thankyou Page and emails - Stack Overflow](https://stackoverflow.com/questions/49295493/add-a-new-row-in-order-totals-for-woocommerce-thankyou-page-and-emails) but it may be easier to add a custom field to the checkout form directly [Checkout Field Manager (Checkout Manager) for WooCommerce – WordPress plugin | WordPress.org](https://wordpress.org/plugins/woocommerce-checkout-manager/) There may be an option to show the saved field value on the order page, or it may be displayed by default.

---

<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:** [November 3, 2022, 5:43pm UTC](https://community.hivepress.io/t/how-to-show-order-details-like-adress-phone-number-etc-on-order-received/2089/14 "2022-11-03T17:43:01Z")

</div>

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