About this plugin
Pasts Courier & Locker adds official Pasts Expresspasts options to WooCommerce checkout.
Main features:
- Supports both classic checkout and WooCommerce Checkout Blocks.
- Supports both WordPress posts order storage and WooCommerce High-performance order storage.
- Show Pasts parcel lockers, post offices, and courier options at checkout.
- Supports delivery to Latvia, Lithuania, Estonia, and worldwide.
- Shipping method pricing rules by country, weight, amount, and box size.
- Label and manifest generation from the plugin orders.
- Supports courier pickup as well as shipment drop-off at parcel lockers.
- Debug logging for request and response troubleshooting.
External services
ExpressPasts API
This plugin connects to the Pasts ExpressPasts API, which is also called Express Mail Customer Information System or EKIS. It is necessary for most of the plugin functions – getting terminal or other location lists, creating shipments, getting labels, creating manifests, calling courier. Refer to the Privacy Policy in Latvian or the Privacy Policy in English and the Terms of Use in Latvian.
Esri ArcGIS
com) to convert a postcode or address into geographic coordinates. This is required to sort and show the parcel lockers and customer service locations closest to the customer.
The postcode or address is sent to the service each time the customer searches for a pickup location, or the closest location is calculated, both in the classic checkout and in the WooCommerce Checkout block. No other personal data is sent. Refer to the Esri Terms of Use and the Esri Privacy Statement.
Source code and build process
js ) are compiled bundles. Their human-readable JavaScript (React/JSX) source is included with the plugin in the src/ directory.
The bundles are built with @wordpress/scripts and @woocommerce/dependency-extraction-webpack-plugin. js and npm):
npm install npm run build
md.
Bundled third-party libraries
This plugin bundles the following minified third-party library. Its human-readable, non-minified source is publicly available from the linked upstream project, and the link is also included in the file headers.
- Datetimepicker for Bootstrap, version 3.1.3, by Jonathan Peterson (Eonasdan), MIT License. Files: assets/js/datetimepicker/bootstrap-datetimepicker.min.js and bootstrap-datetimepicker.min.css. Used for the pickup date/time selector on the courier manifest screen. Source: https://github.com/Eonasdan/bootstrap-datetimepicker