Pasts Expresspasts

描述

Pasts Expresspasts 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.
  • Parcel locker and customer service location (post office) pickup shipping methods.
  • Shipping method pricing rules by country, weight, amount, and box size.
  • Label and manifest generation from the plugin orders.
  • Calling courier for pickup.
  • 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 needed 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

The plugin uses the Esri ArcGIS geocoding service (geocode.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

The WooCommerce Checkout block assets in assets/blocks/ (index.js, post-terminals-block.js, post-terminals-block-frontend.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. To rebuild them, run the following from the src/ directory (requires Node.js and npm):

npm install
npm run build

Full build instructions are in src/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

安裝

  1. Upload the plugin folder to /wp-content/plugins/, or install from the WordPress Plugins screen.
  2. Make sure WooCommerce is active.
  3. Activate Pasts Expresspasts.
  4. Go to WooCommerce > Settings > Shipping > Pasts Expresspasts.
  5. Enter API credentials and sender information.
  6. Configure shipping methods, pricing, and other settings and save changes.
  7. Go to WooCommerce > Settings > Shipping > Shipping zones.
  8. Add the Pasts courier delivery shipping method to the necessary shipping zones.
  9. Test the checkout.

常見問題

Where to get API credentials?

Reach out to Latvia Post directly for API credentials.

Where do I configure API credentials?

Go to WooCommerce > Settings > Shipping > Pasts Expresspasts and fill in your API key and sender details.

Is WooCommerce required?

Yes. This plugin extends WooCommerce shipping and requires WooCommerce to be installed and active.

Can I print labels and manifests from WooCommerce?

Yes. Labels and manifests can be generated from the plugin order management workflow in wp-admin.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Pasts Expresspasts” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Pasts Expresspasts 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.5.0

  • Security hardening and for initial release on WordPress.org.