WooCommerce price by country lets you set prices based on customer country. Your define your country groups (as many as you need), then set prices for those groups in each product.
From that point on when a shopper connect’s to site automatically detect country by google ClientLocation api and they’ll see the product prices that you’ve set for that group and be able to buy at those price. Prices appear across the store like any other product, meaning in the main shop page, category pages, cart, and checkout page.
If the product has no country group price for the shopper’s then shoppers can still buy at your regular price if you have a regular price set.
WooCommerce price by country works with simple products and variable products.
Add as many groups as you like using the built-in mini group manager (see the settings screenshot)
Remove an added group at any time
Set individual prices for any of your groups (see the product edit screenshot)
You can choose whether the modifier price is based on the shipping adress or billing
You can add a country selector on your theme with the code: do_action (‘get_pbc_country_dropdown’).
the country groups are modificable
Solved bugfix with wpml and woocommerce multilingual
Applied GoGlobal program suggestions to our code
Solved DEPRECATED functions
- Requires WooCommerce 2.2.x or newer.
- Upload “woocommerce-price-by-country” folder to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- go to woocommerce > settings > integration tab > price by country option.
- push add new group button an then add many country groups as you like.
- go to product and define it’s price by group.
- if you enter a country selector on your theme adds this code: do_action(‘get_pbc_country_dropdown’),
- In simple products regular price set to “empty” and in variable products set price to “0”
- This plugin supports simple and variable products
Yes, of course.
- You can add a country selector somewhere template
Yes, adding “do_action(‘get_pbc_country_dropdown’)”; .
- If you use Woocomerce multilingual
you must set “Go to the native WooCommerce product editing screen” in “Product Translation Interface”
Contribuidores e programadores
“Woocommerce Price by Country” é software de código aberto. As seguintes pessoas contribuíram para este plugin:Contribuidores
Interessado no desenvolvimento?
Registo de alterações
- Initial release.
- Added country selector by do_action(‘get_pbc_country_dropdown’)
- If country isn’t in any country defined group, price and buy button disapear and is replaced by a configurable message.
- compatibility with woocommerce 2.1
- Added ability to edit groups of countries.
- Added Choice if the factor that modifies the final price of the product is shipping or billing address.
- Added a message for when a user is in a country where we no have defined a price.
- Country selector only shows the countries in which the user has defined to be sold
- Dropdown bugfix.
- Dropdown bugfix.
- price fix in variable products.
- Woocommerce multilingual fix, and wpml fix.
- Applied GoGlobal program suggestions to our code.
- Solved DEPRECATED functions