Shop location change the client location
-
The geolocation with maxmind is not working.
When I put the shop location in woocommerce – shettings – general.
This location is always appear in the shipment calculator on the cart, and is not taken this location automatically from the geolocation.
Thanks.
-
Hi @wasauski
Can you please confirm that you have followed the setup instructions for using your MaxMind account with your WooCommerce store that can be found here:
https://docs.woocommerce.com/document/maxmind-geolocation-integration/
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.Yes, I have do many times this… so this is not the problem…
I paste the report…
### WordPress Environment ### WordPress address (URL): https://arxwheels.com Site address (URL): https://arxwheels.com WC Version: 4.3.1 REST API Version: ✔ 1.0.10 WC Blocks Version: ✔ 2.7.2 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.3.1 Log Directory Writable: ✔ WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.20 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.45-MariaDB-cll-lve Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.3.1 WC Database Prefix: w47fa_ Tamaño total de la base de datos: 20.40MB Tamaño de los datos de la base de datos: 19.33MB Tamaño del índice de la base de datos: 1.07MB w47fa_woocommerce_sessions: Datos: 0.01MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_api_keys: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_attribute_taxonomies: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_downloadable_product_permissions: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_order_items: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_order_itemmeta: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_woocommerce_tax_rates: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_woocommerce_tax_rate_locations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_shipping_zones: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_shipping_zone_locations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_shipping_zone_methods: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_payment_tokens: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_payment_tokenmeta: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_woocommerce_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_actionscheduler_actions: Datos: 0.01MB + Índice: 0.02MB + Motor MyISAM w47fa_actionscheduler_claims: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_actionscheduler_groups: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_actionscheduler_logs: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM w47fa_commentmeta: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_comments: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_links: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_options: Datos: 6.93MB + Índice: 0.08MB + Motor MyISAM w47fa_postmeta: Datos: 1.37MB + Índice: 0.49MB + Motor MyISAM w47fa_posts: Datos: 9.93MB + Índice: 0.12MB + Motor MyISAM w47fa_revslider_css: Datos: 0.09MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_css_bkp: Datos: 0.01MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_layer_animations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_layer_animations_bkp: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_navigations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_navigations_bkp: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_sliders: Datos: 0.02MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_sliders_bkp: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_slides: Datos: 0.03MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_slides_bkp: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_static_slides: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_revslider_static_slides_bkp: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_slim_events: Datos: 0.11MB + Índice: 0.06MB + Motor MyISAM w47fa_slim_events_archive: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_slim_stats: Datos: 0.78MB + Índice: 0.12MB + Motor MyISAM w47fa_slim_stats_archive: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_termmeta: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM w47fa_terms: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_term_relationships: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_term_taxonomy: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_usermeta: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM w47fa_users: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_wc_admin_notes: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_admin_note_actions: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_category_lookup: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_customer_lookup: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_wc_download_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_order_coupon_lookup: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_order_product_lookup: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_wc_order_stats: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_wc_order_tax_lookup: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_product_meta_lookup: Datos: 0.01MB + Índice: 0.03MB + Motor MyISAM w47fa_wc_reserved_stock: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM w47fa_wc_tax_rate_classes: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM w47fa_wc_webhooks: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM ### Post Type Counts ### attachment: 222 avada_faq: 1 customize_changeset: 1 custom_css: 1 forum: 9 fusion_element: 13 fusion_template: 1 nav_menu_item: 37 page: 19 post: 18 product: 8 product_variation: 140 revision: 544 shop_order: 4 topic: 1 tribe_events: 6 tribe_organizer: 1 tribe_venue: 1 wpcf7_contact_form: 5 wpmm_theme: 3 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (13) ### Adapta RGPD: por Superadmin – 1.2 Akismet Anti-Spam: por Automattic – 4.1.6 BackWPup: por Inpsyde GmbH – 3.7.1 bbPress: por Los colaboradores de bbPress – 2.6.5 Contact Form 7: por Takayuki Miyoshi – 5.2 Fusion Builder: por ThemeFusion – 2.2.3 Fusion Core: por ThemeFusion – 4.2.3 Menu Image: por Rui Guerreiro – 2.9.6 Redsys WooCommerce: por Redsys – 3.0.1 – Versión instalada no está probada con la versión activa de WooCommerce 4.3.1 Slider Revolution: por ThemePunch – 6.2.2 Variation Swatches for WooCommerce: por Emran Ahmed – 1.0.85 – Versión instalada no está probada con la versión activa de WooCommerce 4.3.1 WooCommerce: por Automattic – 4.3.1 Slimstat Analytics: por Jason Crouse – 4.8.8.1 ### Inactive Plugins (8) ### Coming Soon Page, Under Construction & Maintenance Mode by SeedProd: por SeedProd – 5.1.3 Geolocation IP Detection: por Yellow Tree (Benjamin Pick) – 3.1.0 Google Language Translator: por Translate AI Multilingual Solutions – 6.0.6 Hello Dolly: por Matt Mullenweg – 1.7.2 The Events Calendar: por Modern Tribe Inc. – 5.1.4 UpdraftPlus - Backup/Restore: por UpdraftPlus.Com DavidAnderson – 1.16.26 W3 Total Cache: por BoldGrid – 0.14.3 WP Crontrol: por John Blackbourn & crontributors – 1.8.5 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Base de la tienda: #1322 - /shop/ Carrito: ❌ The page has not the shortcode. Finalizar compra: ❌ The page has not the shortcode. Mi cuenta: ❌ The page has not the shortcode. Términos y condiciones: ❌ Page not defined ### Theme ### Name: Avada Version: 6.2.3 Author URL: http://themeforest.net/user/ThemeFusion Child Theme: ❌ – Si estás modificando WooCommerce en un tema padre que no has creado personalmente te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo WooCommerce Support: ✔ ### Templates ### Overrides: Avada/woocommerce/cart/cart.php Avada/woocommerce/checkout/form-pay.php Avada/woocommerce/checkout/review-order.php Avada/woocommerce/checkout/thankyou.php Avada/woocommerce/loop/loop-start.php Avada/woocommerce/single-product/add-to-cart/variable.php Avada/woocommerce/single-product/short-description.php Avada/woocommerce/single-product/tabs/additional-information.php Avada/woocommerce/single-product/tabs/description.php ### Action Scheduler ### Completo: 33 Oldest: 2020-06-26 21:38:08 +0000 Newest: 2020-07-27 11:29:52 +0000Thank you for the System Status Report.
This location is always appear in the shipment calculator on the cart, and is not taken this location automatically from the geolocation.
Just to make sure that I’m understanding correctly, you’re reporting that shop location is selected in the shipping calculator in cart, instead of geolocation?
What happens if you access WP Admin > WooCommerce > Settings > General > General options > Default customer location > and select Geolocate?
—
I did take a look at the site, and at the moment, I only see Spain as the available country to ship to:
Link to image: https://d.pr/i/T38zVDIf you want customers from other locations to purchase from your store as well, you’d want to update the settings here: WP Admin > WooCommerce > Settings > General > General options > Selling location(s) > Select – Sell to all countries
Yes, this is the problem, and yes the default customer location is in geolocation option.
This site is only available for the Spain country at the moment, but I want to have different prices depending on city, so all Maxmind and tax options are ok, but If I put my shop location in “Navarra” for example, check now the calculate shipping what is happening, appear Navarra like the customer location… and this is wrong…
Hello @wasauski,
As long as you limit the shipping options to Spain only, you will not be able to select any other shipping location on the checkout page. This problem is not related to the Maxmind geolocation database but to your general settings.
Please ensure to set up the shipping locations correctly as described on https://docs.woocommerce.com/document/configuring-woocommerce-settings/#section-3.
Yes, I know, but woocommerce shipment calculator select Navarra, even you are not in Navarra, this is because I select my store location Navarra. If I change to other region like my store location, the client location choose this selected one. I mean, the store location and the client location is the same, and this is not posible.I am speaking about regions, not country, like Madrid, Navarra, Sevilla…
No help on this?
Hi @wasauski, I see what you mean. The default location on checkout for me was Navarra.
Please make sure that your cart, checkout and My Account pages are exempt from any caching on your site. If that doesn’t help, I recommend doing conflict testing by following our guide here – https://woosupport.wordpress.com/2020/08/28/conflict-testing-how-to-switch-theme-plugins/
Hi @wasauski. We haven’t heard back from you in a while, so I’m going to mark this as resolved. Please start a new thread if you have further questions.
The topic ‘Shop location change the client location’ is closed to new replies.