{"id":343760,"date":"2026-07-23T11:21:17","date_gmt":"2026-07-23T11:21:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/iwebclue-woocurrency\/"},"modified":"2026-07-23T11:21:03","modified_gmt":"2026-07-23T11:21:03","slug":"desraj-currency-switcher-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/desraj-currency-switcher-for-woocommerce\/","author":15509559,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.2","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"desraj Currency Switcher for WooCommerce","header_author":"desraj","header_description":"Auto-detect visitor's country via IP and switch WooCommerce currency (INR, USD, AUD, CAD, EUR). Includes frontend switcher widget.","assets_banners_color":"","last_updated":"2026-07-23 11:21:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":19,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"desraj","date":"2026-07-23 11:21:03"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Admin settings page with exchange rate configuration.","2":"Floating currency switcher widget on the storefront."}},"plugin_section":[],"plugin_tags":[21294,4124,267120,24514,286],"plugin_category":[45,49],"plugin_contributors":[272956],"plugin_business_model":[],"class_list":["post-343760","plugin","type-plugin","status-publish","hentry","plugin_tags-currency-switcher","plugin_tags-geolocation","plugin_tags-ip-detection","plugin_tags-multi-currency","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-maps-and-location","plugin_contributors-desraj","plugin_committers-desraj"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/desraj-currency-switcher-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin detects a visitor's country from their IP address and automatically switches the WooCommerce display currency. Supports the top 5 currencies:<\/p>\n\n<ul>\n<li>India \u2192 INR (Rs)<\/li>\n<li>USA \u2192 USD ($)<\/li>\n<li>Australia \u2192 AUD (A$)<\/li>\n<li>Canada \u2192 CAD (C$)<\/li>\n<li>Europe \u2192 EUR (\u20ac)<\/li>\n<\/ul>\n\n<p>Visitors can also manually override the auto-detected currency using a floating switcher widget or the <code>[dcswc_switcher]<\/code> shortcode.<\/p>\n\n<p>This plugin is an independent third-party integration and is not affiliated with or endorsed by WooCommerce or Automattic.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Auto IP-based country detection<\/li>\n<li>Cloudflare-compatible (reads the <code>CF-Connecting-IP<\/code> header)<\/li>\n<li>Floating currency switcher widget, with manual override<\/li>\n<li><code>[dcswc_switcher]<\/code> shortcode for an inline dropdown<\/li>\n<li>Admin settings page under WooCommerce with per-currency exchange rates<\/li>\n<li>Transient caching of IP lookups (12 hours per IP) to minimize external requests<\/li>\n<li>INR displayed as \"Rs\" instead of the \u20b9 symbol<\/li>\n<\/ul>\n\n<h4>External services<\/h4>\n\n<p>This plugin uses the free <a href=\"https:\/\/ip-api.com\">ip-api.com<\/a> service to look up a visitor's country from their IP address, in order to select the correct display currency.<\/p>\n\n<ul>\n<li>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).<\/li>\n<li>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).<\/li>\n<li>Why: ip-api.com is a free geolocation API and does not require an account or API key.<\/li>\n<li>Third-party terms: <a href=\"https:\/\/ip-api.com\/docs\/legal\">ip-api.com Terms of Service and Privacy Policy<\/a>.<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<h3>Shortcode<\/h3>\n\n<p>Place the currency switcher dropdown anywhere:<\/p>\n\n<pre><code>[dcswc_switcher]\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>desraj-currency-switcher-for-woocommerce<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install via Plugins \u2192 Add New.<\/li>\n<li>Activate the plugin. WooCommerce must be installed and active.<\/li>\n<li>Go to WooCommerce \u2192 Currency Switcher to configure the default currency, switcher position, and exchange rates.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20api%20key%3F\"><h3>Do I need an API key?<\/h3><\/dt>\n<dd><p>No. The plugin uses the free tier of ip-api.com (1,000 requests\/minute, no account required).<\/p><\/dd>\n<dt id=\"what%20if%20the%20visitor%27s%20country%20is%20not%20in%20the%20supported%20list%3F\"><h3>What if the visitor's country is not in the supported list?<\/h3><\/dt>\n<dd><p>The plugin falls back to the \"Default Currency\" configured in the plugin settings.<\/p><\/dd>\n<dt id=\"does%20it%20work%20behind%20cloudflare%3F\"><h3>Does it work behind Cloudflare?<\/h3><\/dt>\n<dd><p>Yes \u2014 it reads the <code>CF-Connecting-IP<\/code> header first, before falling back to other headers.<\/p><\/dd>\n<dt id=\"are%20prices%20converted%20using%20live%20exchange%20rates%3F\"><h3>Are prices converted using live exchange rates?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Auto-detect a visitor&#039;s country from their IP address and switch the WooCommerce display currency automatically, with a manual override widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/343760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=343760"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/desraj"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=343760"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=343760"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=343760"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=343760"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=343760"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=343760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}