No shipping options available after update to 7.1.0
-
Hi all,
I’ve just updated Woocommerce to 7.1.0 and all the regions have been removed from my Shipping Zones.
When I access the Shipping Rules with Weight Based Shipping the destinations are now just “,,,,,,,,” if I add the regions back in I now get “NZ:NSN, NZ:MBH, NZ:TAS, etc”
I think the codes used to be two letters for the region but I can’t remember.
Has anyone else noticed this ?
Regards
Martyn
-
Hello,
Can 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”.?
When I access the Shipping Rules with Weight Based Shipping the destinations are now just
For us to understand this context better, please provide us a screenshot of what you see on your end, you can send it via https://snipboard.io – please follow the instructions on that page, then paste the URL in this thread.
I’m also having same issue. Now none of my New Zealand shipping options are showing up. Australia still works. I’ve even added free shipping and local pick up to see if they show up as an option to select in cart, but they dont!
Here is my woocommerce status report for you: `
### WordPress Environment ###WordPress address (URL): https://masonicexchange.co.nz
Site address (URL): https://masonicexchange.co.nz
WC Version: 7.1.0
REST API Version: ? 7.1.0
WC Blocks Version: ? 8.7.5
Action Scheduler Version: ? 3.4.0
Log Directory Writable: ?
WP Version: 6.1
WP Multisite: –
WP Memory Limit: 768 MB
WP Debug Mode: –
WP Cron: ?
Language: en_NZ
External object cache: ?### Server Environment ###
Server Info: Apache
PHP Version: 7.4.33
PHP Post Max Size: 256 MB
PHP Time Limit: 120
PHP Max Input Vars: 3000
cURL Version: 7.66.0
OpenSSL/1.1.1q-fipsSUHOSIN Installed: –
MySQL Version: 5.7.39-42-log
Max Upload Size: 256 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 7.1.0
WC Database Prefix: wphv_
Total Database Size: 31.72MB
Database Data Size: 23.05MB
Database Index Size: 8.67MB
wphv_woocommerce_sessions: Data: 3.02MB + Index: 0.08MB + Engine InnoDB
wphv_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wphv_woocommerce_order_items: Data: 0.11MB + Index: 0.05MB + Engine InnoDB
wphv_woocommerce_order_itemmeta: Data: 0.48MB + Index: 0.50MB + Engine InnoDB
wphv_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wphv_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wphv_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wphv_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_actionscheduler_actions: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
wphv_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_actionscheduler_logs: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
wphv_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_comments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
wphv_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_options: Data: 1.34MB + Index: 0.06MB + Engine InnoDB
wphv_postmeta: Data: 9.52MB + Index: 4.95MB + Engine InnoDB
wphv_posts: Data: 1.42MB + Index: 0.34MB + Engine InnoDB
wphv_sgs_log_events: Data: 2.02MB + Index: 0.00MB + Engine InnoDB
wphv_sgs_log_visitors: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
wphv_simple_history: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
wphv_simple_history_contexts: Data: 1.02MB + Index: 0.34MB + Engine InnoDB
wphv_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
wphv_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_usermeta: Data: 0.42MB + Index: 0.41MB + Engine InnoDB
wphv_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wphv_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wphv_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wphv_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wphv_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wphv_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_wc_order_product_lookup: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
wphv_wc_order_stats: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
wphv_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_wc_product_meta_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
wphv_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wphv_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_wow_mwp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wphv_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wphv_yoast_indexable: Data: 1.52MB + Index: 0.42MB + Engine InnoDB
wphv_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
wphv_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wphv_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wphv_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
wphv_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB### Post Type Counts ###
aoc_popup: 1
attachment: 575
custom_css: 1
et_body_layout: 2
et_footer_layout: 1
et_header_layout: 1
et_pb_layout: 1
et_template: 3
et_theme_builder: 1
nav_menu_item: 38
oembed_cache: 3
page: 11
post: 22
product: 376
product_variation: 145
revision: 5
shop_order: 543
wpcf7_contact_form: 1### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (16) ###
ManageWP – Worker: by GoDaddy – 4.9.15
FiboSearch – AJAX Search for WooCommerce: by FiboSearch Team – 1.20.0
Contact Form 7: by Takayuki Miyoshi – 5.6.4
Media Library Organizer: by WP Media Library – 1.4.9
Modal Window: by Wow-Company – 5.3.4
Paystation WooCommerce Payment Gateway: by Paystation Limited – 1.2.3
SiteGround Optimizer: by SiteGround – 7.2.5
SiteGround Security: by SiteGround – 1.3.6
Simple History: by P?r Thernstr?m – 3.3.1
Category Order and Taxonomy Terms Order: by Nsp-Code – 1.7.3
Themify – WooCommerce Product Filter: by Themify – 1.3.9
White Label CMS: by https://www.videousermanuals.com – 2.3
WP Menu Cart: by WP Overnight – 2.12.1
WooCommerce: by Automattic – 7.1.0
Yoast SEO: by Team Yoast – 19.10
WP Sitemap Page: by Tony Archambeau – 1.9.2### Inactive Plugins (1) ###
Woo Add Custom States: by Trusted Technology Solutions (TrusTech) – 1.8.5
### Dropin Plugins (1) ###
object-cache.php: Memcached
### Must Use Plugins (1) ###
ManageWP – Worker Loader: by GoDaddy –
### Settings ###
API Enabled: –
Force SSL: –
Currency: NZD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: simple (simple)
grouped (grouped)
variable (variable)
external (external)Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
exclude-from-catalog (exclude-from-catalog)
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: –
Enforce Approved Product Download Directories: –### WC Pages ###
Shop base: #750 – /shop/
Cart: #8 – /cart/
Checkout: #9 – /checkout/
My account: #10 – /my-account/
Terms and conditions: #3 – /terms/### Theme ###
Name: The Masonic Exchange Ltd
Version: 1.0
Author URL: https://aimcreative.nz/
Child Theme: ?
Parent Theme Name: Divi
Parent Theme Version: 4.19.0
Parent Theme Author URL: https://www.elegantthemes.com
WooCommerce Support: ?### Templates ###
Overrides: Divi-Child/woocommerce/emails/admin-new-order.php
### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-pageDisabled Features: minified-js
new-product-management-experience
settingsDaily Cron: ? Next scheduled: 2022-11-15 03:14:32 +13:00
Options: ?
Notes: 98
Onboarding: completed### Action Scheduler ###
Complete: 261
Oldest: 2022-10-16 00:26:09 +1300
Newest: 2022-11-15 10:38:42 +1300Pending: 1
Oldest: 2022-11-16 02:30:57 +1300
Newest: 2022-11-16 02:30:57 +1300### Status report information ###
Generated at: 2022-11-15 11:55:30 +13:00
`Thanks to the person who posted this, I can now see that the zones that have actual list of postcodes as their Regions still work. But the ones that have Names for their regions don’t. And many of these have no names at all now! So it’s all been mucked up with the latest update of either wordpress or woocommerce (did both very recently, so can’t tell).
So I’ve managed to fix all the flatrate issues by region, except for Wellington. A while ago my client pointed out that there was no ‘region’ option in the woocommerce defaults for Wairarapa region. We approached Woocommerce for assistance and they provided the following php code:
/** * Add or modify States */ add_filter( 'woocommerce_states', 'custom_woocommerce_states' ); function custom_woocommerce_states( $states ) { //remove WE Wellington on a good day unset($states['NZ']['WE']); $states['NZ']['WE1'] = 'Wellington'; $states['NZ']['WE2'] = 'Wairarapa'; return $states; } /* Regions Required */ add_filter('woocommerce_get_country_locale', 'custom_nz_locale'); function custom_nz_locale($locale){ $locale['NZ']['state']['required'] = true; return $locale; }
I am not a ‘coder’ but am betting this is the issue. The Wairarapa postcodes are working fine, no doubt because they are entered as individual codes. But the Wellington ‘region’ isn’t workiing, and shows as ‘no shipping options available’. What changes need to be made to this code please?
Maybe it needed time to refresh, or else someone fixed something at plugin end. Now Wellington is working fine. All now working. Would like to know whether it was a Woo bug or WordPress bug, if either can reply? thanks to Martyn above for pointing me in the right direction.
Hi Yvonne,
I haven’t gotten to the bottom of this yet as I’ve had a few other things take priority.
I have three sites using Woocommerce but only one has been affected, that I can see.
The affected one was fixed by re-entering the regions for each shipping rule where I noticed the codes where now three digits and not too.
I posted this elsewhere and was pointed to this which may be useful.
Hi Martyn, thanks to you, I found the missing region zones which I hadn’t noticed before, because our titles match the names of the regions! This loss of shipping zone information happened when I updated either Woocommerce or WordPress (I’m thinking it was WordPress based on another site that had Afganistan as the shops home address!! instead of wellington). All my websites that use postcodes and advanced shipping seem to be unaffected. It’s only the ones that used NZ regions.Can’t really charge my client the 3 hours it took to finally get to the bottom of it. At least it seems fixed now.
Hi @martyyn
Thanks for sharing this info, please stay connected on the GitHub thread to receive notifications.
I understand the issue behaves the same, however, your site configuration could be different, for us to help you further, please create your own thread for your issue – here.
Thanks.
- The topic ‘No shipping options available after update to 7.1.0’ is closed to new replies.