WooCommerce Expert for Country Selection Fix
Budget: $10 – $30 USD
? Looking for a WooCommerce Expert to Fix Country Change Issue in "Price Based on Country"
Project Description:
I have an e-commerce website built with WooCommerce and WordPress, using the "WooCommerce Price Based on Country" (WCPBC) plugin to display prices based on the customer's location. However, I am facing an issue with the country switcher widget, which prevents users from changing their country after making a purchase.
? Issue Details:
Geolocation Enabled: The "Default customer location" setting is set to Geolocate.
Country Switcher Widget: I use the WCPBC country selector to allow customers to manually change their country.
Works in Incognito Mode: When opening an incognito tab, the country change works perfectly.
Country Gets Stuck After Purchase:
Once a user completes a purchase, their country becomes "fixed" and cannot be changed via the widget.
The only way to change the country is through the checkout page, but the widget does not update.
⚡ What I’ve Tried (Without Success):
Modifying functions.php to force the country update.
Using JavaScript to clear cache and force the change.
Clearing WooCommerce session and geolocation cookies.
Disabling WooCommerce session storage related to the country.
? What I Need:
I’m looking for a WooCommerce, PHP, and JavaScript expert who can:
✅ Ensure that the country switcher widget works at all times, even after a purchase.
✅ Make sure WooCommerce and WCPBC update prices correctly based on the selected country.
✅ Fix the issue without affecting other site functionalities.
✅ Avoid using additional plugins (prefer solutions via functions.php or JavaScript).
Project Description:
I have an e-commerce website built with WooCommerce and WordPress, using the "WooCommerce Price Based on Country" (WCPBC) plugin to display prices based on the customer's location. However, I am facing an issue with the country switcher widget, which prevents users from changing their country after making a purchase.
? Issue Details:
Geolocation Enabled: The "Default customer location" setting is set to Geolocate.
Country Switcher Widget: I use the WCPBC country selector to allow customers to manually change their country.
Works in Incognito Mode: When opening an incognito tab, the country change works perfectly.
Country Gets Stuck After Purchase:
Once a user completes a purchase, their country becomes "fixed" and cannot be changed via the widget.
The only way to change the country is through the checkout page, but the widget does not update.
⚡ What I’ve Tried (Without Success):
Modifying functions.php to force the country update.
Using JavaScript to clear cache and force the change.
Clearing WooCommerce session and geolocation cookies.
Disabling WooCommerce session storage related to the country.
? What I Need:
I’m looking for a WooCommerce, PHP, and JavaScript expert who can:
✅ Ensure that the country switcher widget works at all times, even after a purchase.
✅ Make sure WooCommerce and WCPBC update prices correctly based on the selected country.
✅ Fix the issue without affecting other site functionalities.
✅ Avoid using additional plugins (prefer solutions via functions.php or JavaScript).