Linux 软件免费装
Banner图

ParcelKit for CDEK

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

标签

delivery woocommerce shipping cdek shipping calculator pickup points

下载

0.3.0

详情介绍:

For Russian-speaking sites and shops that ship with CDEK. Two parts, use one or both. Widgets for any page — no keys, no WooCommerce needed: They are meant for "Delivery" and "Contacts" pages, blogs and landing pages where a visitor wants to know how much and how long the delivery will take, or where the nearest pickup point is. CDEK delivery at WooCommerce checkout — with your own CDEK API keys: Prices come from CDEK under your contract. Shipments are created in CDEK only when you click the button in an order. Add a widget with a shortcode: [sdekcalc_calculator] [sdekcalc_map] A shortcode builder in Settings → CDEK Calculator lets you preset the sender city, hide the weight fields, show only pickup points or only parcel lockers, and copy the ready shortcode. The same page sets the theme (light, dark or the visitor's system setting) and the accent color for all widgets. This plugin is made by the team of сдэккалькулятор.рф and is not affiliated with or endorsed by CDEK.

安装:

  1. Install the plugin from the Plugins screen or upload the parcelkit-for-cdek folder to /wp-content/plugins/.
  2. Activate it.
  3. Open Settings → CDEK Calculator, build a shortcode and paste it into a page, a post or a Shortcode block.
For delivery at checkout:
  1. Open WooCommerce → Settings → Shipping → CDEK, enter the API keys from your CDEK account (Integration section) or turn on test mode, choose the sender city and save. The page tells you right away whether CDEK accepted the keys.
  2. Add the CDEK method to a shipping zone and choose which options to show.
  3. To create shipments from orders, fill in the "Shipments in CDEK" section on the CDEK settings page: the office where you bring parcels, or the pickup address for a courier.

屏幕截图:

  • The pickup point map: CDEK pickup points and parcel lockers of a city with addresses and opening hours.
  • Block checkout: CDEK options with the delivery time and the pickup point choice.
  • The order screen: the CDEK box creates the shipment in CDEK, with cash on delivery for orders paid on delivery.
  • CDEK settings in WooCommerce: API keys, test mode and where you ship from.
  • The shortcode builder and the settings for all widgets.

常见问题:

Do I need a CDEK contract or API keys?

Not for the widgets: they work without any keys. If you have a contract, the calculator can show the contract-only "Parcel" rate; you can hide it in the builder. Delivery at WooCommerce checkout needs API keys, and CDEK gives them to customers with a contract. Until then you can try it in test mode — test prices are not real.

Why does a customer see no CDEK options?

The customer's city is not filled in yet, CDEK does not deliver there, or the keys or sender city are not set. Check WooCommerce → Status → Logs (source "parcelkit-for-cdek") for errors from CDEK.

Does it create shipments in CDEK or print labels?

Yes, from the order screen. The CDEK box there creates the shipment, prints the waybill (two copies: for you and for the parcel) and the parcel label (A4 or A6, set in the CDEK settings), refreshes the status and deletes the shipment while CDEK has not received it yet. To create shipments for many orders, select them in the orders list and choose "Create CDEK shipments" in the bulk actions (up to 30 orders at once). Orders already in CDEK and orders without CDEK delivery are skipped; the list shows what was created and why an order was not. "Print CDEK waybills" and "Print CDEK labels" download one PDF for all selected orders that have a CDEK number (up to 100 at once). The CDEK column in the orders list shows the number with a tracking link and the last known status. The plugin does not call a courier: if a CDEK courier picks parcels up, request the pickup in your CDEK account.

I already use another CDEK plugin for checkout

Then you don't need this part: just don't add the CDEK method from this plugin to your shipping zones. The widgets work alongside any checkout plugin.

Will the widget slow my site down?

The widget is an iframe with lazy loading: the browser loads it only when a visitor scrolls to it. It does not touch your scripts or styles.

The calculator shows its own scroll bar

The plugin includes a small script that resizes the iframe to its content. If a caching or optimization plugin removes footer scripts, set the height manually: [sdekcalc_calculator height="900"].

Is a link to your site required?

No. A small link under the widget is off by default. You can turn it on in the settings if you want to support the project.

Does it work with page builders?

Yes, anywhere a shortcode works: the block editor (Shortcode block), the classic editor, Elementor's Shortcode widget and text widgets.

更新日志:

0.3.0 0.2.1 0.2.0 0.1.0