# Duration discount failing with Currency Switcher for WooCommerce (WP Wham)

**URL:** <https://community.hivepress.io/t/duration-discount-failing-with-currency-switcher-for-woocommerce-wp-wham/17767>\
**Category:** HivePress\
**Tags:** bookings\
**Created:** [June 16, 2026, 9:12am UTC](https://community.hivepress.io/t/duration-discount-failing-with-currency-switcher-for-woocommerce-wp-wham/17767 "2026-06-16T09:12:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamedshah](https://community.hivepress.io/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mohamedshah](https://community.hivepress.io/u/mohamedshah)\
**Post date:** [June 16, 2026, 9:12am UTC](https://community.hivepress.io/t/duration-discount-failing-with-currency-switcher-for-woocommerce-wp-wham/17767/1 "2026-06-16T09:12:42Z")

</div>

Hello everyone,

I am using HivePress Bookings and want to give customers a **10% discount if they book for 3 or more days**. I also use the plugin **“Currency Switcher for WooCommerce” (by WP Wham)** so people can switch between my local currency and USD.

The discount works perfectly in my local currency. But whenever a user switches the currency to USD, the discount disappears entirely.

I already tried writing a code snippet using the `hivepress/v1/models/booking/calculate_price` hook to force the discount, but it gets ignored when switching currencies.

Could someone please help me or share a code snippet that tells HivePress and the currency plugin to calculate this 10% discount together correctly while using multi currencies?

Thank you!

---

<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:** [June 16, 2026, 7:06pm UTC](https://community.hivepress.io/t/duration-discount-failing-with-currency-switcher-for-woocommerce-wp-wham/17767/3 "2026-06-16T19:06:13Z")

</div>

Hi,

Unfortunately, we can’t guarantee compatibility with all currency switchers yet, but I recommend trying a different one – please let me know if the issue persists [YayCurrency – WooCommerce Multi-Currency Switcher – WordPress plugin | WordPress.org](https://wordpress.org/plugins/yaycurrency/) Resolving the issue with WP Wham requires developer information, for example, which hooks they use to change the currency in WooCommerce cart/checkout.

Please also note that the hook you mentioned doesn’t exist in Bookings, if you’d like to alter the way prices are calculated please try this one instead: `hivepress/v1/models/listing/cart` It’s used when the booking price is calculated, and on the checkout page.

Hope this helps

P.S. Please consider renewing support for Bookings or Marketplace if you still need assistance [Renew Support | HivePress](https://hivepress.io/renew-support) This also helps us continue development while keeping lifetime licenses available.

---

<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:** [July 16, 2026, 7:06pm UTC](https://community.hivepress.io/t/duration-discount-failing-with-currency-switcher-for-woocommerce-wp-wham/17767/4 "2026-07-16T19:06:20Z")

</div>

Closed on July 16, 2026, 7:06pm UTC

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