Linux 软件免费装
Banner图

Drusoft Shipping for Sameday

开发者 ventzie
更新时间 2026年10月10日 03:48
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shipping woocommerce bulgaria sameday easybox

下载

1.0.3 1.0.4

详情介绍:

Drusoft Shipping for Sameday connects a WooCommerce store in Bulgaria to the Sameday courier. Customers see live Sameday prices at checkout and choose delivery to their door, to an easybox locker or to a SAMEDAY point; the merchant creates, prints and cancels waybills from the order screen. Important Compatibility Note This plugin is currently not compatible with the WooCommerce Block Cart and Block Checkout pages. Please ensure your store uses the classic shortcode-based Cart ([woocommerce_cart]) and Checkout ([woocommerce_checkout]) pages. For Your Customers For Merchants Also Ship via Speedy or Econt? This plugin has siblings for the other Bulgarian couriers: Drusoft Shipping for Speedy and Drusoft Shipping for Econt. All three share the same checkout experience, map picker and order screens, and are built to run side by side on one checkout.

安装:

  1. Upload the drusoft-shipping-for-sameday folder to the /wp-content/plugins/ directory.
  2. Ensure WooCommerce is installed and active.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Navigate to WooCommerce > Settings > Shipping > Shipping Zones.
  5. Add or edit a shipping zone (e.g. "Bulgaria").
  6. Click Add shipping method and select Sameday.
  7. Choose the environment, enter your Sameday API username and password, and click Save Changes. The credentials are checked immediately and the first location sync runs.
  8. Select your pickup point and the delivery options you want to offer, then save again.

屏幕截图:

  • Map picker for easybox lockers and SAMEDAY points.

常见问题:

What Sameday credentials do I need?

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.

Does this plugin support the WooCommerce Block Checkout?

Not yet. The plugin currently requires the classic shortcode-based Checkout page ([woocommerce_checkout]).

How are pickup locations kept up to date?

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.

How is shipping cost calculated?

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.

Why is the SAMEDAY point option missing at checkout?

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.

Can I automatically generate waybills?

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.

The browser console shows a 404 for “…/undefinedwc/store/v1/cart” on the cart page. Is that this plugin?

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.

What happens to my data if I deactivate or delete the plugin?

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.

Can I request a courier from WordPress?

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.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1