# How to include commission in price format

**URL:** <https://community.hivepress.io/t/how-to-include-commission-in-price-format/6665>\
**Category:** Marketplace\
**Tags:** marketplace\
**Created:** [July 18, 2023, 7:10pm UTC](https://community.hivepress.io/t/how-to-include-commission-in-price-format/6665 "2023-07-18T19:10:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nolan.fribault](https://community.hivepress.io/user_avatar/community.hivepress.io/nolan.fribault/32/2201_2.png) [@nolan.fribault](https://community.hivepress.io/u/nolan.fribault)\
**Post date:** [July 18, 2023, 7:10pm UTC](https://community.hivepress.io/t/how-to-include-commission-in-price-format/6665/1 "2023-07-18T19:10:31Z")

</div>

Hello,  
For a few days I’ve been trying to make the price displayed on the ads include the amount of the commission applied to customers, but it doesn’t work at the moment. Could you please help me include the value of the commission in the %value%? We can code it if required.

 ![image](https://community.hivepress.io/uploads/default/original/2X/b/bf8d9ca412535beda247061acd8680026627650a.png)

Among other things, we want this, but instead of the price including commission being displayed at checkout, we want it to be displayed before.  
Thanks to you !

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [July 19, 2023, 12:28pm UTC](https://community.hivepress.io/t/how-to-include-commission-in-price-format/6665/4 "2023-07-19T12:28:52Z")

</div>

Hi,

Unfortunately, there is no simple snippet here, you need a custom implementation using a hook `hivepress/v1/fields/currency/display_value`. Please note that a detailed code review is required here. But thanks for your suggestion, we’ll consider adding this feature.

​I hope this is helpful to you.

---

<div class="post-metadata">

**Author:** ![nolan.fribault](https://community.hivepress.io/user_avatar/community.hivepress.io/nolan.fribault/32/2201_2.png) [@nolan.fribault](https://community.hivepress.io/u/nolan.fribault)\
**Post date:** [July 19, 2023, 10:08pm UTC](https://community.hivepress.io/t/how-to-include-commission-in-price-format/6665/5 "2023-07-19T22:08:51Z")

</div>

Okey thanks to you 🙂

---

<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:** [August 31, 2023, 6:08am UTC](https://community.hivepress.io/t/how-to-include-commission-in-price-format/6665/9 "2023-08-31T06:08:37Z")

</div>

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