Adds functionality to specify delivery addresses for the Speedy and Econt couriers in Bulgaria.
This plugin adds the checkout functionality to chose from offices of Speedy and Econt couriers in Bulgaria.
The functionality might get extended to other countries by simply adding parameters to respective API calls.
This plugin creates tables and populate data from respective APIs asynchronously.
So, please expect empty regions/cities/offices lists for first few minutes after plugin activation.
If you wish to donate to support this plugin please do this to one of the non-profits you adore. They need it more.
'Left till free shipping' shown in cart page, separate warning is shown next to the order price
Same information is shown at the checkout page
Delivery options are displayed once phone number is populated
Region, city and office fields are shown for the corresponding shipping option
Cities list is populated once region is selected
Office field is automatically populated when only 1 office is available in the chosen city
Original region, city and address fields are shown when 'to address' delivery option is chosen
Question: The region/city/office fields are empty for the selected delivery option.
Answer: Be sure that you have specified proper credentials to access APIs. Please wait for the few minutes if you have just done this.
Question: The region/city/office fields continue to be empty after waiting for more that 5 mins after plugin’s activation.
Answer: Please check whether the credentials you have provided are correct ones. If you continue having problems – contact developers at winter2007d (at) gmail.com
Question: There are errors while making the order after plugin activation.
Created initial version of the plugin
Incorrect final order price calculation by JS script
Only Econt sites having offices are now inserted in the table
Prevent cleaning up of the courier tables when API request returns incomplete data
Fixed wrong version in the main php file
Compatible with WordPress 5.9
Not showing the ‘Left till free’ message on empty cart
Force opening of the checkout page won’t show NaN warning
Offices update logic was not working
Econt office number is now skipped from the order details
Delivery method is now bold in the top bar notification
Fixed the readme file format
Changed stable version link and tested up to
Aligned the versions along different files to fix plugin update issues
Aligned readme files to have same content
Fixed necessity to re-enable plugin once its data was initially set or changed
Made new tag since previous was submitted with incorrect files
Made new way to showing the ‘shipping left till free’ message
Loading css styles on checkout page only
Compatible with WP 6.0
Made new tag since previous was submitted with incorrect files
Fixed incorrect MySQL syntax while deleting entries from the DB (actual for some versions of MySQL)
Fixed incorrect MySQL syntax while deleting entries from the DB. Part 2 (actual for some versions of MySQL)
Do not use the auth for the econt data retrieval
Added debugging logic
Fixed small typos
Fixed Speedy offices selection for the Sofia city
Fixed Speedy offices selection for the Sofia city №2
Fixed Speedy offices selection for the Sofia city №3
Removed Econt username and password fields since they are not needed for the plugin to work
Added an option to disable messages about the free shipping earned
Added ability to enable only particular shipping methods (not all at the same time)
Made Econt office alias visible along with the address to ease up the search
Added ability to specify custom list of fields which should be used when “Delivery to address” option is chosen and hidden otherwise
Added option to show all delivery fields altogether (without entering the phone number)
Added check whether Speedy office is opened before adding it to the list of available
Preventing plugin logic from being loaded on non-checkout pages
fixed version issue
Fixed Econt shipping calculation issue
Added option to explicitly calculate final order price in the checkout page
Speedy/Econt data collection is done only when proper office’ option is enabled
DB tables are now removed on plugin deactivation
fixed version issue
Fixed Speedy offices storage logic
Fixed issue of not loading offices
Added settings link to the plugins view
Added ability to force refresh the offices/sites tables
Made faster data insertion logic
Fixed translation
Fixed _options table name
fixed version issue
Fixed table data refresh issues
Fixed sporadically clearing of the offices tables
Small improvement on price calculation on checkout page
Made delivery prices shown at the thank you page and in the confirmation email
Added option to make email address optional
All offices are now updated in 1 transaction
Fixed nasty econt offices update issue
Fixed shipping method calculation issue
Small improvement on the way labels are stored
Made correct delivery price shown in the rightmost column on checkout
Made possible setting the order of delivery options as they appear at checkout page
Fixed to address delivery method
Fixed translation part
Made delivery price included in emails and order total only when option is chosen
Fixed absent free delivery label from the orders placed
Fixed onAjaxComplete handler so that it properly work with the final price changes
Removed final price re-calculation logic for the case when delivery price is included in the final order price.
This might cause issues with other plugins which do the ajax refresh. Not sure how to fix it properly for now.
Added ability to specify shipping methods which will have store message left till free delivery
shown
Now possible to have shipping methods w/o free delivery option
Fixed ’till free delivery’ message and price calculation (again)
Fixed overall price calculation. Hiding original div and adding totally new one to handle all ajax-based refreshes correctly
Made delivery fields mandatory (in UI)
Fixed ‘left till free delivery’ message
Fixed unnecessary execution of functions which were invoked by timer
Fixed the refresh logic not working in some cases
Fixed first name focusing logic
Fixed appearance of ‘left till free delivery’ message when has just opened the checkout page
Fixed first name field focus on first time checkout page is opened
Fixed ‘free delivery’ label not added to the office name (admin only)
Improved handing of the ajax price refresh on the checkout page
Compatible with WP version 6.2
Made no focusing on the first name field if it already has a value
Hidden delivery details from the cart page
Preventing scroll to top on cart contents update (left till free delivery re-calculation)
Fixed name of delivery html option
Fixed escaping for the delivery html option
Fixed offices update logic
Fixed jQuery loading in case site uses some custom version
Fixed version issue
Added option to use custom jQuery version
Added new option to not validate the region/city/address
Declared compatibility with WooCommerce HPOS
Fixed the force table refresh issue
Compatible with WP 6.3
Made to office field value wrap
Compatible with WP 6.4
Regional centers are set to be first in list of cities
Fixed version tag
Cities selection fixed