Free Shipping not wokring
-
I have set up free shipping zone set up for customers in the local area.
It’s based in the UK and I have the following postcodes listed;
NG1*
NG2*
NG3*
NG4*
NG5*
NG6*
NG7*
NG8*However when I go to the checkout it doesn’t offer me that option, just standard first class or second class delivery.
-
Hi@forbiddenchunk
Any chance you could provide some screen shots of the shipping zone(s) you created.
Regards
SteveBHi there @forbiddenchunk,
A URL to test ourselves alongside your shipping zone setup would be helpful. ??
Could you please share a copy of your site’s System Status too? 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.-
This reply was modified 6 years, 8 months ago by
Ryan Ray, a11n.
Here is the code, hope it helps thanks;
### WordPress Environment ### Home URL: https://developmentplayground.co.uk/harrison-and-griffiths Site URL: https://developmentplayground.co.uk/harrison-and-griffiths WC Version: 3.4.2 Log Directory Writable: ? WP Version: 4.9.6 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 5.6.36 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 512 MB PHP Time Limit: 120 PHP Max Input Vars: 8000 cURL Version: 7.54.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 10.0.34-MariaDB-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.4.2 WC Database Prefix: wp_ Total Database Size: 3.33MB Database Data Size: 2.21MB Database Index Size: 1.12MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB wp_aws_cache: Data: 0.02MB + Index: 0.00MB wp_aws_index: Data: 0.09MB + Index: 0.00MB wp_commentmeta: Data: 0.02MB + Index: 0.03MB wp_comments: Data: 0.02MB + Index: 0.09MB wp_links: Data: 0.02MB + Index: 0.02MB wp_nf3_actions: Data: 0.02MB + Index: 0.00MB wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB wp_nf3_fields: Data: 0.02MB + Index: 0.00MB wp_nf3_field_meta: Data: 0.06MB + Index: 0.00MB wp_nf3_forms: Data: 0.02MB + Index: 0.00MB wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB wp_nf3_objects: Data: 0.02MB + Index: 0.00MB wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB wp_nf3_upgrades: Data: 0.02MB + Index: 0.00MB wp_nf_objectmeta: Data: 0.02MB + Index: 0.00MB wp_nf_objects: Data: 0.02MB + Index: 0.00MB wp_nf_relationships: Data: 0.02MB + Index: 0.00MB wp_ninja_forms_fav_fields: Data: 0.05MB + Index: 0.00MB wp_ninja_forms_fields: Data: 0.02MB + Index: 0.00MB wp_options: Data: 0.34MB + Index: 0.05MB wp_postmeta: Data: 0.44MB + Index: 0.25MB wp_posts: Data: 0.41MB + Index: 0.06MB wp_termmeta: Data: 0.02MB + Index: 0.03MB wp_terms: Data: 0.02MB + Index: 0.03MB wp_term_relationships: Data: 0.02MB + Index: 0.02MB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB wp_usermeta: Data: 0.02MB + Index: 0.03MB wp_users: Data: 0.02MB + Index: 0.05MB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB ### Post Type Counts ### acf-field: 29 acf-field-group: 6 attachment: 76 events: 4 nav_menu_item: 36 page: 20 post: 3 product: 23 product-order: 1 revision: 109 shop_coupon: 1 shop_order: 7 ### Security ### Secure connection (HTTPS): ? Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ? ### Active Plugins (12) ### ACF Content Analysis for Yoast SEO: by Thomas Kr?ftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 2.0.1 Advanced Custom Fields PRO: by Elliot Condon – 5.6.10 Advanced Woo Search: by ILLID – 1.43 GDPR Cookie Compliance: by Moove Agency – 1.1.1 Jetpack by WordPress.com: by Automattic – 6.2.1 Ninja Forms: by The WP Ninjas – 3.3.4 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.2.1 WooCommerce Attributes Menu Manager: by Varun Sridharan – 0.8 – Not tested with the active version of WooCommerce WooCommerce MailChimp: by Saint Systems – 2.1.12 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.4.2 Yoast SEO: by Team Yoast – 7.6.1 WP Sync DB: by Sean Lang – 1.5 ### Settings ### API Enabled: ? Force SSL: – Currency: GBP (£) Currency Position: left 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) ### WC Pages ### Shop base: #6 - /shop/ Basket: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: #34 - /customer-services/terms-conditions/ ### Theme ### Name: Harrison & Griffiths Version: 1.0 Author URL: https://www.vitty.co.uk Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: harrison-and-griffiths/woocommerce/archive-product.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/auth/footer.php harrison-and-griffiths/woocommerce/auth/form-grant-access.php harrison-and-griffiths/woocommerce/auth/form-login.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/auth/header.php harrison-and-griffiths/woocommerce/cart/cart-empty.php harrison-and-griffiths/woocommerce/cart/cart-item-data.php harrison-and-griffiths/woocommerce/cart/cart-shipping.php harrison-and-griffiths/woocommerce/cart/cart-totals.php harrison-and-griffiths/woocommerce/cart/cart.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/cart/cross-sells.php harrison-and-griffiths/woocommerce/cart/mini-cart.php harrison-and-griffiths/woocommerce/cart/proceed-to-checkout-button.php harrison-and-griffiths/woocommerce/cart/shipping-calculator.php version 3.2.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/checkout/cart-errors.php harrison-and-griffiths/woocommerce/checkout/form-billing.php harrison-and-griffiths/woocommerce/checkout/form-checkout.php harrison-and-griffiths/woocommerce/checkout/form-coupon.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/checkout/form-login.php version 2.0.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/checkout/form-pay.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/checkout/form-shipping.php harrison-and-griffiths/woocommerce/checkout/order-receipt.php harrison-and-griffiths/woocommerce/checkout/payment-method.php harrison-and-griffiths/woocommerce/checkout/payment.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/checkout/review-order.php harrison-and-griffiths/woocommerce/checkout/terms.php version 3.1.1 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/checkout/thankyou.php harrison-and-griffiths/woocommerce/content-product.php version 3.0.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/content-product_cat.php harrison-and-griffiths/woocommerce/content-single-product.php version 3.0.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/content-widget-product.php harrison-and-griffiths/woocommerce/emails/admin-cancelled-order.php harrison-and-griffiths/woocommerce/emails/admin-failed-order.php harrison-and-griffiths/woocommerce/emails/admin-new-order.php harrison-and-griffiths/woocommerce/emails/customer-completed-order.php harrison-and-griffiths/woocommerce/emails/customer-invoice.php harrison-and-griffiths/woocommerce/emails/customer-new-account.php harrison-and-griffiths/woocommerce/emails/customer-note.php harrison-and-griffiths/woocommerce/emails/customer-on-hold-order.php harrison-and-griffiths/woocommerce/emails/customer-processing-order.php harrison-and-griffiths/woocommerce/emails/customer-refunded-order.php harrison-and-griffiths/woocommerce/emails/customer-reset-password.php harrison-and-griffiths/woocommerce/emails/email-addresses.php harrison-and-griffiths/woocommerce/emails/email-customer-details.php harrison-and-griffiths/woocommerce/emails/email-downloads.php version 3.2.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/emails/email-footer.php harrison-and-griffiths/woocommerce/emails/email-header.php harrison-and-griffiths/woocommerce/emails/email-order-details.php harrison-and-griffiths/woocommerce/emails/email-order-items.php version 3.2.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/emails/email-styles.php harrison-and-griffiths/woocommerce/emails/plain/admin-cancelled-order.php harrison-and-griffiths/woocommerce/emails/plain/admin-failed-order.php harrison-and-griffiths/woocommerce/emails/plain/admin-new-order.php harrison-and-griffiths/woocommerce/emails/plain/customer-completed-order.php harrison-and-griffiths/woocommerce/emails/plain/customer-invoice.php harrison-and-griffiths/woocommerce/emails/plain/customer-new-account.php harrison-and-griffiths/woocommerce/emails/plain/customer-note.php harrison-and-griffiths/woocommerce/emails/plain/customer-on-hold-order.php harrison-and-griffiths/woocommerce/emails/plain/customer-processing-order.php harrison-and-griffiths/woocommerce/emails/plain/customer-refunded-order.php harrison-and-griffiths/woocommerce/emails/plain/customer-reset-password.php harrison-and-griffiths/woocommerce/emails/plain/email-addresses.php version 3.2.1 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/emails/plain/email-customer-details.php version 2.5.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/emails/plain/email-downloads.php version 3.2.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/emails/plain/email-order-details.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/emails/plain/email-order-items.php harrison-and-griffiths/woocommerce/global/breadcrumb.php harrison-and-griffiths/woocommerce/global/form-login.php harrison-and-griffiths/woocommerce/global/quantity-input.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/global/sidebar.php harrison-and-griffiths/woocommerce/global/wrapper-end.php harrison-and-griffiths/woocommerce/global/wrapper-start.php harrison-and-griffiths/woocommerce/loop/add-to-cart.php harrison-and-griffiths/woocommerce/loop/loop-end.php harrison-and-griffiths/woocommerce/loop/loop-start.php harrison-and-griffiths/woocommerce/loop/no-products-found.php harrison-and-griffiths/woocommerce/loop/orderby.php harrison-and-griffiths/woocommerce/loop/pagination.php harrison-and-griffiths/woocommerce/loop/price.php harrison-and-griffiths/woocommerce/loop/rating.php harrison-and-griffiths/woocommerce/loop/result-count.php harrison-and-griffiths/woocommerce/loop/sale-flash.php harrison-and-griffiths/woocommerce/myaccount/dashboard.php harrison-and-griffiths/woocommerce/myaccount/downloads.php harrison-and-griffiths/woocommerce/myaccount/form-add-payment-method.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/myaccount/form-edit-account.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/myaccount/form-edit-address.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/myaccount/form-login.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/myaccount/form-lost-password.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/myaccount/form-reset-password.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/myaccount/lost-password-confirmation.php harrison-and-griffiths/woocommerce/myaccount/my-account.php harrison-and-griffiths/woocommerce/myaccount/my-address.php harrison-and-griffiths/woocommerce/myaccount/my-downloads.php harrison-and-griffiths/woocommerce/myaccount/my-orders.php harrison-and-griffiths/woocommerce/myaccount/navigation.php harrison-and-griffiths/woocommerce/myaccount/orders.php harrison-and-griffiths/woocommerce/myaccount/payment-methods.php harrison-and-griffiths/woocommerce/myaccount/view-order.php harrison-and-griffiths/woocommerce/notices/error.php harrison-and-griffiths/woocommerce/notices/notice.php harrison-and-griffiths/woocommerce/notices/success.php harrison-and-griffiths/woocommerce/order/form-tracking.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/order/order-again.php harrison-and-griffiths/woocommerce/order/order-details-customer.php harrison-and-griffiths/woocommerce/order/order-details-item.php harrison-and-griffiths/woocommerce/order/order-details.php harrison-and-griffiths/woocommerce/order/order-downloads.php harrison-and-griffiths/woocommerce/order/tracking.php harrison-and-griffiths/woocommerce/product-searchform.php harrison-and-griffiths/woocommerce/single-product/add-to-cart/external.php version 2.1.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/single-product/add-to-cart/grouped.php version 3.3.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/single-product/add-to-cart/simple.php version 3.0.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/single-product/add-to-cart/variable.php version 3.0.0 is out of date. The core version is 3.4.1 harrison-and-griffiths/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php version 3.0.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/single-product/add-to-cart/variation.php harrison-and-griffiths/woocommerce/single-product/meta.php harrison-and-griffiths/woocommerce/single-product/photoswipe.php harrison-and-griffiths/woocommerce/single-product/price.php harrison-and-griffiths/woocommerce/single-product/product-attributes.php harrison-and-griffiths/woocommerce/single-product/product-image.php harrison-and-griffiths/woocommerce/single-product/product-thumbnails.php harrison-and-griffiths/woocommerce/single-product/rating.php harrison-and-griffiths/woocommerce/single-product/related.php harrison-and-griffiths/woocommerce/single-product/review-meta.php version 3.0.0 is out of date. The core version is 3.4.0 harrison-and-griffiths/woocommerce/single-product/review-rating.php harrison-and-griffiths/woocommerce/single-product/review.php harrison-and-griffiths/woocommerce/single-product/sale-flash.php harrison-and-griffiths/woocommerce/single-product/share.php harrison-and-griffiths/woocommerce/single-product/short-description.php harrison-and-griffiths/woocommerce/single-product/stock.php harrison-and-griffiths/woocommerce/single-product/tabs/additional-information.php harrison-and-griffiths/woocommerce/single-product/tabs/description.php harrison-and-griffiths/woocommerce/single-product/tabs/tabs.php harrison-and-griffiths/woocommerce/single-product/title.php harrison-and-griffiths/woocommerce/single-product/up-sells.php harrison-and-griffiths/woocommerce/single-product-reviews.php harrison-and-griffiths/woocommerce/single-product.php harrison-and-griffiths/woocommerce/taxonomy-product_cat.php harrison-and-griffiths/woocommerce/taxonomy-product_tag.php Outdated Templates: ? Learn how to update
I’ve done some more tweaking and got it working but I’m finding it, isn’t as specific as I want it to be.
After tweaking areas, it now offers Free Shipping on postscodes NG4 for example and charges for postcodes that are LE5.
However I would like it to be more specific where it offers free shipping on NG4 but not on NG16 for example.
Is there way to make it more specific?
Thanks
Hi @forbiddenchunk,
It looks like because you have a wildcard on NG1 it is applying free shipping to any postcode that starts with NG1. You’d need to be more specific and perhaps apply a range to that. Something like NG1…NG15 should stop it from applying to anything beyond NG15.
Hi @ryanr14
I’ve removed the wildcard’s off them all, so e.g.
NG1
NG2
NG3
NG4
NG5
NG6
NG7
NG8they are all the fields suitable for Free Shipping and tested with NG4 3BQ and it charged me now for shipping now.
@forbiddenchunk Technically, you should be able to add the postcodes like the below, however, it appears there’s a bug, which I just reported here:
https://github.com/woocommerce/woocommerce/issues/20580NG1 *
NG2 *
NG3 *
NG4 *
NG5 *
NG6 *
NG7 *
NG8 *Once the bug is worked on and fixed, you should be able to add the postcodes like the above to have the proper matches.
@forbiddenchunk I received a reply back from one of the developers and it appears things are working correctly, as long as a valid postcode is entered. You can usde the above to match what you need for your zone ??
-
This reply was modified 6 years, 8 months ago by
- The topic ‘Free Shipping not wokring’ is closed to new replies.