Title: desraj Currency Switcher for WooCommerce
Author: Desraj Kumawat
Published: <strong>July 23, 2026</strong>
Last modified: July 23, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/desraj-currency-switcher-for-woocommerce.
svg)

# desraj Currency Switcher for WooCommerce

 By [Desraj Kumawat](https://profiles.wordpress.org/desraj/)

[Download](https://downloads.wordpress.org/plugin/desraj-currency-switcher-for-woocommerce.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/desraj-currency-switcher-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/desraj-currency-switcher-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/desraj-currency-switcher-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/desraj-currency-switcher-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/desraj-currency-switcher-for-woocommerce/)

## Description

This plugin detects a visitor’s country from their IP address and automatically 
switches the WooCommerce display currency. Supports the top 5 currencies:

 * India  INR (Rs)
 * USA  USD ($)
 * Australia  AUD (A$)
 * Canada  CAD (C$)
 * Europe  EUR (€)

Visitors can also manually override the auto-detected currency using a floating 
switcher widget or the `[dcswc_switcher]` shortcode.

This plugin is an independent third-party integration and is not affiliated with
or endorsed by WooCommerce or Automattic.

#### Features

 * Auto IP-based country detection
 * Cloudflare-compatible (reads the `CF-Connecting-IP` header)
 * Floating currency switcher widget, with manual override
 * `[dcswc_switcher]` shortcode for an inline dropdown
 * Admin settings page under WooCommerce with per-currency exchange rates
 * Transient caching of IP lookups (12 hours per IP) to minimize external requests
 * INR displayed as “Rs” instead of the ₹ symbol

#### External services

This plugin uses the free [ip-api.com](https://ip-api.com) service to look up a 
visitor’s country from their IP address, in order to select the correct display 
currency.

 * What is sent: the visitor’s IP address. Note: ip-api.com’s free tier only supports
   plain HTTP for this lookup (their paid plan offers an HTTPS endpoint).
 * When: on a visitor’s first page view, when no cached result exists for that IP(
   results are cached for 12 hours per IP using WordPress transients, so the same
   visitor is not looked up repeatedly).
 * Why: ip-api.com is a free geolocation API and does not require an account or 
   API key.
 * Third-party terms: [ip-api.com Terms of Service and Privacy Policy](https://ip-api.com/docs/legal).

If you require full control over data sent to third parties (e.g. for GDPR compliance),
please review ip-api.com’s terms before activating this plugin on a site with EU
visitors.

### Shortcode

Place the currency switcher dropdown anywhere:

    ```
    [dcswc_switcher]
    ```

## Installation

 1. Upload the `desraj-currency-switcher-for-woocommerce` folder to `/wp-content/plugins/`,
    or install via Plugins  Add New.
 2. Activate the plugin. WooCommerce must be installed and active.
 3. Go to WooCommerce  Currency Switcher to configure the default currency, switcher
    position, and exchange rates.

## FAQ

### Do I need an API key?

No. The plugin uses the free tier of ip-api.com (1,000 requests/minute, no account
required).

### What if the visitor’s country is not in the supported list?

The plugin falls back to the “Default Currency” configured in the plugin settings.

### Does it work behind Cloudflare?

Yes — it reads the `CF-Connecting-IP` header first, before falling back to other
headers.

### Are prices converted using live exchange rates?

No. Prices are converted using the exchange rate you enter manually in the plugin
settings (base currency: INR). Rates are not fetched automatically and must be updated
by the site admin.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“desraj Currency Switcher for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Desraj Kumawat ](https://profiles.wordpress.org/desraj/)

[Translate “desraj Currency Switcher for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/desraj-currency-switcher-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/desraj-currency-switcher-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/desraj-currency-switcher-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/desraj-currency-switcher-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/desraj-currency-switcher-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **11 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [currency switcher](https://wordpress.org/plugins/tags/currency-switcher/)[geolocation](https://wordpress.org/plugins/tags/geolocation/)
   [ip detection](https://wordpress.org/plugins/tags/ip-detection/)[multi currency](https://wordpress.org/plugins/tags/multi-currency/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/desraj-currency-switcher-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/desraj-currency-switcher-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/desraj-currency-switcher-for-woocommerce/reviews/)

## Contributors

 *   [ Desraj Kumawat ](https://profiles.wordpress.org/desraj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/desraj-currency-switcher-for-woocommerce/)