# The price without /night

**URL:** <https://community.hivepress.io/t/the-price-without-night/17566>\
**Category:** Bookings\
**Created:** [March 28, 2026, 2:59pm UTC](https://community.hivepress.io/t/the-price-without-night/17566 "2026-03-28T14:59:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BernardC](https://community.hivepress.io/letter_avatar_proxy/v4/letter/b/e47c2d/32.png) [@BernardC](https://community.hivepress.io/u/BernardC)\
**Post date:** [March 28, 2026, 2:59pm UTC](https://community.hivepress.io/t/the-price-without-night/17566/1 "2026-03-28T14:59:31Z")

</div>

Hello, I’ve installed my Experthive theme and its associated plugins, including the Booking add-on. When I configure a product with a price, it displays, for example, 100.00/night. I want to remove the ‘/night’ and I can’t find where to modify it. I haven’t created any price attributes or any attributes with ‘/night’.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![BernardC](https://community.hivepress.io/letter_avatar_proxy/v4/letter/b/e47c2d/32.png) [@BernardC](https://community.hivepress.io/u/BernardC)\
**Post date:** [March 28, 2026, 3:16pm UTC](https://community.hivepress.io/t/the-price-without-night/17566/2 "2026-03-28T15:16:49Z")

</div>

je me répond à moi même, j’ai trouvé /days or night par contre mon calendrier est limité à la réservation sur 1 jour le 30 mars, why ?

---

<div class="post-metadata">

**Author:** ![ChrisB](https://community.hivepress.io/user_avatar/community.hivepress.io/chrisb/32/14185_2.png) [@ChrisB](https://community.hivepress.io/u/ChrisB)\
**Post date:** [March 28, 2026, 4:37pm UTC](https://community.hivepress.io/t/the-price-without-night/17566/3 "2026-03-28T16:37:24Z")

</div>

Hi @BernardC,

You can remove this using the following code snippet:

```auto
<?php
add_filter(
	'hivepress/v1/models/listing/fields',
	function( $fields, $model ) {
		if ( isset( $fields['price'] ) ) {
			$fields['price']['display_template'] = '%value%';
		}

		return $fields;
	},
	1000,
	2
);

```

If you’re unsure how to add code snippets, please check out this article:

- [How to add custom code snippets - HivePress Help Center](https://share.google/cINSjq0lPmtdcJWgF)

I hope this helps!

Edit: if the above snippet doesn’t work, kindly try the other suggestions I provided here:

- [How to remove the /night or /day on the listing](https://community.hivepress.io/t/how-to-remove-the-night-or-day-on-the-listing/17027)

Cheers,  
Chris ✌

---

<div class="post-metadata">

**Author:** ![BernardC](https://community.hivepress.io/letter_avatar_proxy/v4/letter/b/e47c2d/32.png) [@BernardC](https://community.hivepress.io/u/BernardC)\
**Post date:** [March 28, 2026, 4:46pm UTC](https://community.hivepress.io/t/the-price-without-night/17566/4 "2026-03-28T16:46:29Z")

</div>

Thanks for the info and code

Bernard

---

<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:** [April 27, 2026, 4:47pm UTC](https://community.hivepress.io/t/the-price-without-night/17566/5 "2026-04-27T16:47:26Z")

</div>

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