SolveBeam Default Customer Location for WooCommerce
Override the default customer location used by WooCommerce for taxes, pricing, and checkout.
by SolveBeam · github.com/solvebeam/solvebeam-default-customer-location-for-woocommerce · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/solvebeam/solvebeam-default-customer-location-for-woocommerce/archive/refs/heads/main.zipSet the default customer location in WooCommerce using a simple admin setting. This location is used by WooCommerce to calculate taxes, pricing, and shipping before the customer enters their own address.
Why this plugin
WooCommerce's "Default customer location" setting determines how taxes, pricing (e.g., including/excluding tax), and shipping zones are applied for first-time visitors. This setting can be based on geolocation, the shop's base address, or be disabled.
This plugin adds a simple option to override this setting with a specific country of your choice, without needing geolocation services or code snippets.
Features
- Set a default customer location (country) for all visitors
- Overrides the "Default customer location" in WooCommerce settings
- Affects taxes, pricing, and shipping zone calculations
- Simple settings page under WooCommerce > Default Customer Location
- Lightweight, no-bloat, and no frontend assets
Usage
- Install and activate the plugin
- Go to WooCommerce > Default Customer Location
- Select the default country
- Save changes
Technical details
- Uses the
woocommerce_customer_default_locationfilter - Countries loaded via
WC_Countries - Fully namespaced and follows WordPress coding standards
License
GPL-2.0-or-later
Copyright © SolveBeam