Shipping cost not updating in checkout
-
We have detected a problem in different stores that we manage.
Normally, when we are at checkout, and we select the “region” field, the shipping costs must be recalculated in the event that there are different rates, and that does not happen.
However, if it happens if we make a purchase logged as a wordpress administrator, or if we change the “country” field.
It is very rare since it occurs in 4 online stores that we have reviewed, and it always occurs with the “region” field.
Please, this is quite serious for commercial reasons.
I leave you an example URL: https://lollypopstore.es/finalizar-purchase/
Thanks!The page I need help with: [log in to see the link]
-
Hello,
Thanks for reaching out!
If I understood correctly, the shipping cost will not update if “País / Región” is set to “Espa?a” and you change the “Región / Provincia”, but it will update if you change “País / Región” to another country. Please, let me know if I got this right.
Can you share some details about how your shipping zones are set up? So we can have a better understanding of what is the expected behavior here.
For example, when selecting “Portugal” the site will ask for the address to show the shipping options, after which it will tell me there are no options. Is this the expected behavior?
Hello!
It’s not exactly like that.
Indeed, if the country is “Spain” and I want to change the “Region / Province” field, the shipping cost is not updated. But it is that if I choose the country “Portugal” (or “Italy”), and I want to select a “Region / Province”, in this case the test does not work for me since I have not configured shipping by zones in these countries.Within “Spain”, I have configured several zones, and if for example I select the “Region / Province” with the “Balearic Islands” option, the shipping cost should be updated, and it does not. This is the problem.
Thanks for clarifying.
Please share screenshots of your shipping settings from WooCommerce → Settings → Shipping. I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in this chat.
Also 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.
Hi!
Here are the screenshots
https://snipboard.io/ok8xKz.jpg
https://snipboard.io/juTFLk.jpg
https://snipboard.io/u7fYSU.jpg
https://snipboard.io/ya2mQY.jpg
https://snipboard.io/P0UBaW.jpgsite’s System Status
### WordPress Environment ### WordPress address (URL): https://lollypopstore.es Site address (URL): https://lollypopstore.es WC Version: 6.1.1 REST API Version: ? 6.1.1 WC Blocks Version: ? 6.5.2 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.0.3 Log Directory Writable: ? WP Version: 5.9 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.2.14 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.29.0 NSS/3.19.1 Basic ECC SUHOSIN Installed: – MySQL Version: 5.5.60-MariaDB Max Upload Size: 8 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.1 WC Database Prefix: lpp_ Tama?o total de la base de datos: 35.12MB Tama?o de los datos de la base de datos: 28.92MB Tama?o del índice de la base de datos: 6.20MB lpp_woocommerce_sessions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB lpp_woocommerce_order_items: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_woocommerce_order_itemmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB lpp_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_actionscheduler_actions: Datos: 0.34MB + índice: 0.44MB + Motor InnoDB lpp_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_actionscheduler_logs: Datos: 0.28MB + índice: 0.25MB + Motor InnoDB lpp_cmplz_cookiebanners: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_cmplz_cookies: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_cmplz_services: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_comments: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB lpp_e_submissions: Datos: 0.02MB + índice: 0.27MB + Motor InnoDB lpp_e_submissions_actions_log: Datos: 0.02MB + índice: 0.11MB + Motor InnoDB lpp_e_submissions_values: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB lpp_jet_smart_filters_indexer: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_options: Datos: 3.03MB + índice: 0.19MB + Motor InnoDB lpp_postmeta: Datos: 18.13MB + índice: 2.92MB + Motor InnoDB lpp_posts: Datos: 4.33MB + índice: 0.28MB + Motor InnoDB lpp_smush_dir_images: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_termmeta: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB lpp_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_term_relationships: Datos: 0.08MB + índice: 0.05MB + Motor InnoDB lpp_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_usermeta: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB lpp_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB lpp_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_wc_admin_notes: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB lpp_wc_admin_note_actions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_wc_customer_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_wc_order_product_lookup: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB lpp_wc_order_stats: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB lpp_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_wc_product_meta_lookup: Datos: 0.06MB + índice: 0.09MB + Motor InnoDB lpp_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB lpp_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_yoast_indexable: Datos: 1.48MB + índice: 0.38MB + Motor InnoDB lpp_yoast_indexable_hierarchy: Datos: 0.08MB + índice: 0.05MB + Motor InnoDB lpp_yoast_migrations: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB lpp_yoast_primary_term: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB lpp_yoast_seo_links: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB ### Post Type Counts ### attachment: 294 custom_css: 1 elementor_font: 1 elementor_library: 7 jet-smart-filters: 2 nav_menu_item: 35 page: 11 plus-mega-menu: 1 post: 2 product: 154 product_variation: 299 revision: 542 shop_order: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (21) ### Complianz | GDPR/CCPA Cookie Consent: por Really Simple Plugins – 6.0.6 Ele Custom Skin: por Dudaster.com – 3.1.4 Elementor Pro: por Elementor.com – 3.6.0 Elementor: por Elementor.com – 3.5.5 Envíos por provincias (ES): por Enrique J. Ros – 2.1.1 Facebook for WooCommerce: por Facebook – 2.6.9 GP Premium: por Tom Usborne – 2.1.1 Header and Footer Scripts: por Digital Liberation – 2.2.1 JetSmartFilters: por Crocoblock – 2.3.1 JetWooBuilder For Elementor: por Crocoblock – 1.10.0 Make Column Clickable Elementor: por Fernando Acosta – 1.3.1 Ocultar métodos de envío: por Enrique J. Ros – 2.0.0 Really Simple SSL: por Really Simple Plugins – 5.2.3 Redsys WooCommerce: por Redsys – 3.1.1 The Plus Addons for Elementor: por POSIMYTH – 5.0.5 The Plus Addons for Elementor - Pro: por POSIMYTH – 5.0.1 Listado de facturas: por Enrique J. Ros – 2.6.2 WooCommerce PDF Invoices & Packing Slips: por WP Overnight – 2.12.1 WooCommerce: por Automattic – 6.1.1 Yoast SEO: por Equipo Yoast – 18.0 Smush: por WPMU DEV – 3.9.5 ### Inactive Plugins (0) ### ### 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: #17 - /tienda/ Carrito: #18 - /carrito/ Finalizar compra: #19 - /finalizar-compra/ Mi cuenta: #20 - /mi-cuenta/ Términos y condiciones: #3 - /terminos-y-condiciones/ ### Theme ### Name: GeneratePress Version: 3.1.2 Author URL: https://tomusborne.com 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: – ### Action Scheduler ### Completo: 1.033 Oldest: 2022-01-07 19:41:48 +0000 Newest: 2022-02-07 18:52:31 +0000 Pendiente: 1 Oldest: 2022-02-07 23:55:04 +0000 Newest: 2022-02-07 23:55:04 +0000 ### Status report information ### Generated at: 2022-02-07 20:58:25 +02:00
Hello @puntocomestudio,
I’ve performed some cross-testing on one of my test sites which has the latest versions of WordPress, WooCommerce and our free Storefront theme as the only enabled software. When doing so, replicating your shipping settings, I’m able to successfully change the shipping rate in the checkout.
What I think you could do is the following:
1. Move shipping method “Envío gratuito” on top of “Precio fijo” in the Baleares shipping zone.
2. Change the theme to Storefront and deactivate all plugins (except WooCommerce).Let us know if it works with this setup.
For more detailed instructions about conflict testing, check out this – How to test for plugin and theme conflicts.
Thanks.
Hi!
We have done what you told us:
1. Modify the shipping area as commented.
2. Test with StoreFront
3. Test with StoreFront and disable all non-WooCommerce pluginsThe conclusion is the same: it still doesn’t work. Although we have done the indicated tests, I highly doubt that it is an incompatibility problem since, if you check my first email, this error occurs on other websites and they all use a different theme (GeneratePress, FlatSome and even a StoreFront one) and with the same configuration shipping. Furthermore, GeneratePress is just as basic a theme as StoreFront.
Please, do some more research because it has to be a WooCommerce bug and not an incompatibility that is occurring.
I await your news, thank you!
Hi @puntocomestudio! Thanks for writing back!
By default, the WooCommerce checkout page will only update when you fill out all the fields.
It also does when you change your country, because it may need to update the other related fields!
As a test, I have filled all the fields with some random info, and then when I changed by Region from Madrid to Baleares, it updated my shipping rate to 3.95€!
Can you give that a try, please?
I hope that helps! Thank you!
Hi!
Totally true. That’s what was happening, sorry for the inconvenience.
And thanks for the help, it was driving me crazy.Thanks
Hi @puntocomestudio!
Glad to hear that André’s advice was helpful! Thank you for letting us know.
Now that the issue is resolved, feel free to create a new topic if you need assistance with anything else.
Cheers.
- The topic ‘Shipping cost not updating in checkout’ is closed to new replies.