| 开发者 | ventzie |
|---|---|
| 更新时间 | 2026年10月10日 03:48 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[woocommerce_cart]) and Checkout ([woocommerce_checkout]) pages.
For Your Customers
drusoft-shipping-for-sameday folder to the /wp-content/plugins/ directory.An API username and password issued by Sameday for your contract. Demo credentials and production credentials are separate — ask Sameday's integration team for both.
Not yet. The plugin currently requires the classic shortcode-based Checkout page ([woocommerce_checkout]).
The plugin uses the WooCommerce Action Scheduler to refresh cities, easybox lockers and SAMEDAY points from the Sameday API once a day. You can monitor the scheduled action (drushfs_sync_locations_event) under WooCommerce > Status > Scheduled Actions. The settings screen shows when the last refresh ran.
Each delivery option is priced live by Sameday's estimate-cost endpoint for the parcel weight, destination, cash-on-delivery amount and declared value. Quotes are cached for 15 minutes so a checkout does not call the API on every keystroke. If Sameday cannot be reached, the fallback prices from the settings are used instead.
Each pickup option appears only when the customer's city has such a location. A city with no SAMEDAY point offers address delivery and, if it has one, easybox.
Yes. Enable Create automatically in the shipping method settings. A waybill is created when an order becomes "Processing" or "On hold"; an order that already has one is never given a second.
No. That request is made by WooCommerce's own Mini-Cart block (the cart icon in the header of block themes such as Twenty Twenty-Five) when the cart itself is the classic shortcode page this plugin requires. WooCommerce builds the address from a value that is not set on that page, so it starts with the word “undefined”. It appears with every shipping plugin switched off as well, and it does not affect prices, delivery options or orders — only the header icon's item count may lag until the next page load.
Deactivating stops the daily sync and nothing else — your settings and the synced cities and pickup locations stay, so switching the plugin back on costs nothing. Deleting the plugin removes its two tables, its settings and its cached data. Orders keep their waybill number and pickup location either way.
No. Sameday's client API has no courier-request endpoint. Collection follows your pickup point arrangement with Sameday, or you drop parcels into an easybox.