Changelog - Shipping Zones by Drawing

Changelog - Shipping Zones by Drawing Premium – 2021-11-18

  • New: Option to use Google Plus Code to precise shipping location – 2021-11-01

  • Fix: Trailing whitespace may cause incorrect output

2.6.0 – 2021-10-29

  • New: Option to enable geo-calculations on the cart page
  • New option: Restrict shipping methods by product categories

2.5.9 – 2021-10-21

  • Improvement: Added wp nonces to ajax requests

2.5.8 – 2021-09-09

  • Improvement: Monitoring of when shortcode [szbd] is inserted into DOM now waits until the map is visible

2.5.7 – 2021-09-06

  • Improvement: New advanced option to monitor and initialize when shortcode [szbd] is inserted into DOM

2.5.6 – 2021-05-21

  • Improvement: More efficient way to geolocate checkout map center points

2.5.5 – 2021-05-17

  • Fix: Reset chosen map location when set/unset “Ship to a different address?”
  • Dev: Bind shipping method list by element id (“shipping_method”) and try with wildcard if this id does not exist

2.5.4 – 2021-04-29

  • Compatibility: Compatibility with Food Online 5
  • Fix: Hide map on checkout when geolocation is not necessary

2.5.2 – 2021-03-12

  • New: Option “Mandatory to precise at map” available when map is shown on geocode failure
  • Fix: Radius calculation error when store location is geolocated from WooCommerce store address – 2021-03-11

  • Fix: SZBD shipping methods not shown at page load when map option is “show map when geolocate fails”

2.5.1 – 2021-03-10

  • Fix: Picked location do not save when map is shown on geolocate failure

2.5.0 – 2021-03-10

  • New: Support for use of shortcodes [qty] & [fee] when defining a flat rate for a “Shipping zones by drawing” shipping method
  • New Option: Added option “Mandatory to precise at map”. This feature adds the possibility to force customers to use the map at checkout to precise their delivery location
  • Improvement: Major improvement when geolocating to always display the most relevant map at checkout
  • Dev: Updated checkout javascript file with increased stability and bug fixes – 2021-02-27

  • Improvement: Tries to not load Google Maps js if it is already loaded

2.4.6 – 2021-02-26

  • Fix: Shortcode [szbd] with radius argument do not show
  • New: Argument radius_unit added for shortcode [szbd]
  • Fix: Removes empty locality component restrictions – 2021-02-04

  • Bugfix: Replaced arrow functions from version 2.4.5 result in incorrect calculations of the lowest delivery cost

2.4.5 – 2021-02-02

  • Fix: Removed js arrow functions for improvement of browser compatibility
  • Checks server-to-server request string for unexpected string conversion

2.4.4 – 2021-01-13

  • Shortcode class [szbd] and javascript methods updated to allow multiple maps at same page

  • Bug fix: Shipping methods disappears from checkout when location is picked from map and methods are re-selected more than one time

  • Improved compatibility with Food Online Premium regarding precise map at checkout
  • Bug Fix: Radius fail when geolocate store address
  • Resolved naming conflict with szbd_add_picked_location_to_emails filter

  • Improved Google Maps Js compatibility with 3rd party scripts


  • Bug fix: Radius calculation fail
  • Do not run js at order-pay endpoint page


  • Compatibility with Food Online 4.1


  • Bug Fix: “Deactivate alert”


  • New Feature: As option, let user pick delivery location from map


  • New use of color argument for the [szbd] shortcode. Color can now be a list so each zone in the map can be given a own color.


  • New option on how to define the store location
  • New advanced option to force shortcode [szbd]. May be needed if showing the shortcode in popups etc.
  • New argument “radius” to the shortcode [szbd]. Display a circle with specified radius
  • Improved compatibility (with 3rd party plugins) when checkout fields like “Country” are removed from the checkout page


  • Improved evaluation of customer default address


  • Improved error handling at checkout


  • Improved error handling at checkout
  • Improved messages at checkout


  • Compatibility with jQuery 3


  • New option: Top sorted shipping method will be chosen at checkout
  • New behaviour: Will only show top sorted shipping method when methods have equal rates and the option to only show lowest rate methods at checkout is enabled


  • Bug fix: Checkout error when cart only consists of non shippable products


  • Added option to deactivate post code restriction

  • Bug Fix: Front end map display error


  • Added shortcode argument ‘interactive’ to enable user interaction at the delivery map
  • Improved support for addresses in Poland


  • Bug Fix: Shortcode [szbd] map placed in wrong place
    Store addresses accept establishment and route as geolocation types


  • Allowing Google responses with route types
  • Improved compatibility for Brazilian addresses


  • Now allowing geocode reults with establishment types


  • Better compatibility with states in some countries
  • Added support to use shipping classes


  • Bug Fix: Rounding rates


  • Added column in edit to show post ids.


  • Added shortcode [szbd] to display drawn delivery zones front end.
  • Example [szbd ids=”id1,id2″ title=”Delivery Zones” color=”#c87f93″]


  • Better compatibility when checkout is done stepwise (with external plugins).
  • Better compatibility with addresses in Angola.

  • Bug fix when excluding non-minimum cost shipping methods

  • Improved compatibility with addresses in Russia.


  • Further improved backwards compatibility with shipping methods created prior to version 2.0.0
  • Better checkout perfomance.

Improved backward compatibility with shipping methods created prior to version 2.0.0.

Better stability for the Google Server-to-Server response.


Updated core for better performance.
Ability to limit by minimum order amount.
use dynamic shipping rates per tranportation distance.
Ability to limit shipping by a radius distance from the store address.
Ability to limit shipping by a transportation distance or time from the store address.
Ability to choose the tax status of the shipping cost.
Ability to choose title of shipping methods shown at checkout.

Better compatibility for addresses in Romaina
Improved address validation

Better compatibility for addresses in Canada

Minor bug fixes

Bug fix not showing shipping methods correctly at checkout

Added feature to set minimum order value per zone (shipping method)
Fix: when no matching zone is found at checkout

Added duplicate link to the drawn zones.

Better compatibility with Israel addresses.

Javascript bug fix at checkout

Show more than 10 maps when choosing shipping method

Added option to disable Google Maps API script loading

Improved compatibility for network installation (multisite)

Bug fix: file path reference

Bug fixes

Initial release