Increase service price by 25%

Hi Guys,

I would to increase the price entered by the vendor by 25% meaning that if the vendor enters $20, the new price stored and displayed and the price the customer will pay will be $20 + $20*0.25 = $25

Is there a code snippet to do that?

PS I’m using marketplace and woocommerce.

Thank you for all of your help.


If I understand you correctly, please check this doc: How to set up commissions - HivePress Help Center

​I hope this is helpful to you.

Hello Andrii,

I set the commission at 25% but the price in the backend and frontend is still the same. I want the price to be automatically updated with 25% increase included and shown as the price in the backend and frontend.


Please note that the commission will be displayed only on the checkout page, it will not directly modify the price field on the backend or frontend.

Ok no problem. Can you you provide some code snippet to do that please? Thank you.


Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work: