Display EUR on Product Pages + Force MAD at Checkout
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from BennaniZakaria on July 29, 2025, 09:42Hello and sorry for the disturbance,
I'm using the WOOCS PRO plugin (v2.4.3.1) on my WooCommerce site, and I had some issue and I had these following goals:
- Display all product prices in EUR € across the shop, product, and cart pages (as a base display currency for European customers). And my main currency is MAD because my website is based in Morocco.
- At checkout, I need to force the payment in MAD (Moroccan Dirhams) because the CMI payment gateway only accepts MAD.
- Ideally, I would like to display both prices simultaneously, e.g. 80 € – 850 MAD, while ensuring actual transactions go through in MAD only.
- I have attempted to implement this using custom PHP code (hooking into woocommerce_currency, woocommerce_get_price_html, and WOOCS()->set_currency()), but:
- The display currency doesn't always switch correctly to EUR on product pages.
- Prices appear in MAD but with the € symbol (incorrect).
- The forced checkout currency is not reliably respected.
- $WOOCS->set_currency() seems to have no effect when triggered during init or plugins_loaded.
- No visible errors or Query Monitor logs indicate plugin execution.
Can you please advise:
- What is the correct way to force a display currency globally, while still forcing checkout in another currency?
- Is there a recommended hook or lifecycle point to safely call WOOCS()->set_currency('EUR')?
- How can I make sure that product prices are always recalculated when switching display currencies, and not just the symbol changed?
I appreciate your help in guiding me toward the right configuration or filters/actions I might have missed. Let me know if you need access details or further debug info.
Best regards,
BENNANI Zakaria
Site: https://hawkobs.space/
Hello and sorry for the disturbance,
I'm using the WOOCS PRO plugin (v2.4.3.1) on my WooCommerce site, and I had some issue and I had these following goals:
- Display all product prices in EUR € across the shop, product, and cart pages (as a base display currency for European customers). And my main currency is MAD because my website is based in Morocco.
- At checkout, I need to force the payment in MAD (Moroccan Dirhams) because the CMI payment gateway only accepts MAD.
- Ideally, I would like to display both prices simultaneously, e.g. 80 € – 850 MAD, while ensuring actual transactions go through in MAD only.
- I have attempted to implement this using custom PHP code (hooking into woocommerce_currency, woocommerce_get_price_html, and WOOCS()->set_currency()), but:
- The display currency doesn't always switch correctly to EUR on product pages.
- Prices appear in MAD but with the € symbol (incorrect).
- The forced checkout currency is not reliably respected.
- $WOOCS->set_currency() seems to have no effect when triggered during init or plugins_loaded.
- No visible errors or Query Monitor logs indicate plugin execution.
Can you please advise:
- What is the correct way to force a display currency globally, while still forcing checkout in another currency?
- Is there a recommended hook or lifecycle point to safely call WOOCS()->set_currency('EUR')?
- How can I make sure that product prices are always recalculated when switching display currencies, and not just the symbol changed?
I appreciate your help in guiding me toward the right configuration or filters/actions I might have missed. Let me know if you need access details or further debug info.
Best regards,
BENNANI Zakaria
Site: https://hawkobs.space/
Quote from Pablo Borysenco on July 29, 2025, 11:08Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Delete your customization
Read this - https://currency-switcher.com/force-currency-on-checkout-page
Check this settings - https://share.pluginus.net/image/i20250729120544.png - in this case, the user outside of Morocco can see prices in MAD and EUR
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Delete your customization
Read this - https://currency-switcher.com/force-currency-on-checkout-page
Check this settings - https://share.pluginus.net/image/i20250729120544.png - in this case, the user outside of Morocco can see prices in MAD and EUR