# Switch Currency According to customer country.

**URL:** https://forum.shopware.com/t/switch-currency-according-to-customer-country/60753
**Category:** Programming (EN)
**Created:** [31. Juli 2019 um 07:08 UTC](https://forum.shopware.com/t/switch-currency-according-to-customer-country/60753 "2019-07-31T07:08:32Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![shakil2nd](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@shakil2nd](https://forum.shopware.com/u/shakil2nd)
#### Post date: [31. Juli 2019 um 10:55 UTC](https://forum.shopware.com/t/switch-currency-according-to-customer-country/60753/3 "2019-07-31T10:55:56Z")

</div>

Hello Michael,

**Git Hub link**

[https://github.com/shakil2nd/switch-currency-plugin](https://github.com/shakil2nd/switch-currency-plugin)

**Core Idea of Plugin**

I need to make that plugin to switch currency according to the country when customer logged in to his/her&nbsp; account. if customer logged in with the his/her default&nbsp;country USA so customer see defult currency dollar and if customer logged in using his/her default&nbsp;country Germany so customer see Euro as a default currency.

**What I did**

I selected to use ‘CUSTOMER\_LOGIN\_EVENT’ but when I logged in to my account it&nbsp;did not&nbsp;trigger that event so my function which I added on subscrivber not working.&nbsp;

Kindly, also help me out how to updated and selected default currency which is on the top header section using that subscriber event when customer logged in.

Thanks,

Shakeel

&nbsp;

&nbsp;

---

_[View the full topic](https://forum.shopware.com/t/switch-currency-according-to-customer-country/60753)._
