Price Based on Country for WooCommerce

Описание

Price Based on Country for WooCommerce allows you to sell the same product in multiple currencies based on the country of the customer.

How it works

The plugin detects automatically the country of the website visitor throught the geolocation feature included in WooCommerce (2.3.0 or later) and display the currency and price you have defined previously for this country.

You have two ways to set product’s price for each country:

  • Calculate price by applying the exchange rate.
  • Set price manually.

When country changes on checkout page, the cart, the order preview and all shop are updated to display the correct currency and pricing.

Multicurrency

Sell and receive payments in different currencies, reducing the costs of currency conversions.

Country Switcher

The extension include a country switcher widget to allow your customer change the country from the frontend of your website.

Shipping currency conversion

Apply currency conversion to Flat and International Flat Rate Shipping.

Compatible with WPML

WooCommerce Product Price Based on Countries is officially compatible with WPML.

Upgrade to Pro

This plugin offers a Pro addon which adds the following features:

  • Guaranteed support by private ticket system.
  • Automatic updates of exchange rates.
  • Add an exchange rate fee.
  • Round to nearest.
  • Display the currency code next to price.
  • Compatible with the WooCommerce built-in CSV importer and exporter.
  • Thousand separator, decimal separator and number of decimals by pricing zone.
  • Currency switcher widget.
  • Support to WooCommerce Subscriptions by Prospress .
  • Support to WooCommerce Product Bundles by SomewhereWarm .
  • Support to WooCommerce Product Add-ons by WooCommerce .
  • Support to WooCommerce Bookings by WooCommerce .
  • Support to WooCommerce Composite Product by SomewhereWarm.
  • Support to WooCommerce Name Your Price by Kathy Darling.
  • Bulk editing of variations princing.
  • Support for manual orders.
  • More features and integrations is coming.

Get Price Based on Country Pro now

Requirements

  • WooCommerce 3.4 or later.
  • If you want to receive payments in more of one currency, a payment gateway that supports them.

Скриншоты

  • Simple to get started with the Geolocation setup wizard.
  • Unlimited price zones.
  • Pricing zone properties.
  • Pricing zone properties (2).
  • Plugin settings.
  • Set the price manually or calculate by the exchange rate.
  • Includes a country selector widget.

Установка

  1. Download, install and activate the plugin.
  2. Go to WooCommerce -> Settings -> Product Price Based on Country and configure as required.
  3. Go to the product page and sets the price for the countries you have configured avobe.

Adding a country selector to the front-end

Once you’ve added support for multiple country and their currencies, you could display a country selector in the theme. You can display the country selector with a shortcode or as a hook.

Shortcode

[wcpbc_country_selector other_countries_text=»Other countries»]

PHP Code

do_action(‘wcpbc_manual_country_selector’, ‘Other countries’);

Customize country selector (only for developers)

  1. Add action «wcpbc_manual_country_selector» to your theme.
  2. To customize the country selector:
    1. Create a directory named «woocommerce-product-price-based-on-countries» in your theme directory.
    2. Copy to the directory created avobe the file «country-selector.php» included in the plugin.
    3. Work with this file.

Часто задаваемые вопросы

How might I test if the prices are displayed correctly for a given country?

If you are in a test environment, you can configure the test mode in the setting page.

In a production environment you can use a privacy VPN tools like TunnelBear or ZenMate

You should do the test in a private browsing window to prevent data stored in the session. Open a private window on Firefox or on Chrome

Отзывы

23.03.2024
Thank you for this plugin. It's the only one I've found that just works. Does what it is supposed to do out of the box. No bloat, no fluff. It works well with WP Rocket too. I also like the seamless integration with the WP admin design, it looks like it's part of WooCommerce and not a third-party plugin. All plugin authors should follow your example.
13.03.2024 1 ответ
Waste of time it requires you to get a licence and register an account with them, the free version does not update the difference from one currency to another, so if you had an item for £10 and someone in the US buys it they buy it for $10.
15.01.2024
I'm using this plugin in combination with Geolocation to serve my customers with pricing in different currencies. I'm running the free version on one site and the pro version on another. The feature set is solid and support is very reactive and fast. I reached out for a minor compatiblity issue with another plugin last week and the issue was assesses and fixed inside of 48 hours. If the feature set of this plugin fits your use case, there is no reason not to use this plugin. 100% recommended.
12.01.2024 2 ответа
I bought it and made the settings, but the prices do not change as soon as the user enters the site, instead they change after browsing the site for 5 minutes. I request support.
22.12.2023
I website that sells online digital products worldwide , therefore I needed a currency plugin that allows me to geolocate customers by their location using IP addresses. My website is based on WordPress (the store part) combined with Magento (the logo maker part) and it is complicated. I had a very challenging issue. Oscar, the amazing guy from Woocommerce product price based on countries plugin helped me solve the issue with advanced support and lots and lots of patience. Thank you for your professional help and kindness. Merry Christmas!
06.12.2023 1 ответ
[EDIT* The developer replied to my problem with some useful CSS code which resolved the issue highlighted below - excellent customer service.] When loading web pages from different regions to test the plugin there is an obvious short delay before the geo-located price is displayed. Unfortunately behind the delayed price a random grey box appears which doesn't make the web page look very professional.
Посмотреть все 247 отзывов

Участники и разработчики

«Price Based on Country for WooCommerce» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Price Based on Country for WooCommerce» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Price Based on Country for WooCommerce» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

3.4.4 (2024-03-13)

  • Update: Revert the geolocation AJAX call to POST to prevent issues with Sucuri.
  • Tweak: Check the «woocommerce_package_rates» filter parameter is an array to prevent PHP warnings.

3.4.2 (2023-12-18)

  • Added: Tested up WordPress 8.4+.
  • Fixed: Mini-cart total does not refresh after changing the country using the country/currency switcher.
  • Fixed: Frontend prices are loaded for the «Facebook for WooCommerce» background process.

3.4.1 (2023-12-06)

  • Update: Revert the price loading animation to «dots».

3.4.0 (2023-11-30)

  • Added: Tested up WordPress 8.3+.
  • Added: Compatible with Flexible Shipping by Octolize plugin.
  • Added: Replace the loading dots animation with a skeleton placeholder.
  • Added: Exclude the AJAX geolocation JavaScript files from the «WP Rocket Delay JavaScript» feature.
  • Added: Exclude the AJAX geolocation JavaScript files from the «Siteground Speed Optimizer Combine JavaScript» feature.
  • Added: Exclude the AJAX geolocation JavaScript files from the «Jetpack Boost» concat JavaScript feature.
  • Fixed: Elementor minicart issue: Cart is empty after adding items to the cart.
  • Fixed: Error on settings page when a deprecated PRO version is installed.

See changelog for all versions.