Krokedil Shipping Connector

  1. Home
  2. /
  3. Krokedil Shipping Connector

Krokedil Shipping Connector

Here you will find documentation on Krokedil Shipping Connector for WooCommerce.

Useful external links

English product page on krokedil.com

Svensk produktsida på krokedil.se


Technical information


Plugin data


Plugin version: 3.1.1

Last updated: 9 May, 2022

Tested with

WordPress version: 5.9.3

WooCommerce version: 6.4.1

Requires at least

WordPress version: 5.0.0

WooCommerce version: 4.0.0

PHP version: 7.0

Plugin changelog


3.1.1
  • Tweak - CSS tweaks. Display shipping method extra description / captions field better.
  • Tweak - Minor Swedish translation change.
  • Fix - Only try to send parcel contents to nShift if Parcel content text is entered in plugin settings. Could cause issue with create shipment booking.
3.1.0
  • Tweak - Adds helper function ksc_get_nshift_carrier_id_for_order to be able to get carrier info from order.
  • Tweak - Changes default request time to 10 seconds + introduce filter ksc_request_timeout.
  • Tweak - Changes target2Media to laser-a4 in create shipment request.
  • Fix - Solves Printnote printer ID bug.
  • Fix - Fix customs documents logic issue.
3.0.0
  • Feature - Adds support for return shipment. Directly in create shipment request and via separate manual "Create return shipment" button in metabox.
  • Feature - Adds support for creating customs documents in create shipment request (available also for orders created via Klarna Shipping Assistant).
  • Feature - Adds setting and logic for displaying product data fields related to customs logic (Tariff code, Tariff description, Y code and Manufacturing country).
  • Feature - Adds general plugin setting for default Manufacturing country.
  • Feature - Adds new setting and logic for including nShift Checkout widget via hooks in WooCommerce checkout page.
  • Feature - Adds support for creating shipment without a prepared shipment ID (using nShifts /shipment endpoint).
  • Feature - Adds support for creating shipment on order status Processing.
  • Feature - Adds logic for sending customer order note when shipment is created.
  • Feature - Adds setting and logic to book multiple parcels in one booking (not all carriers offer this feature).
  • Feature - Adds support for automatic printing of shipment label, return label and customs documents via PrintNode (printnode.com).
  • Feature - Adds support for automatic printing of packing slips and invoice if WooCommerce PDF Invoices & Packing Slips (from WP Overnight) is installed.
  • Feature - Adds support of creating shipments on partial delivery orders (making it compatible with Partial Delivery for WooCommerce - https://krokedil.com/product/partial-delivery-for-woocommerce/).
  • Feature - Adds price, weight, free shipping coupon & product shipping classes as query params in nShift Checkout requests (so those values could be part of the logic when configuring Delivery Checkouts in unifaunonline.com).
  • Tweak - Adds filter ksc_delivery_checkouts_query_param so custom params can be added in nShift Checkout requests.
  • Tweak - Adds filter ksc_force_create_shipment_without_prepare_id to be able to create shipment without prepared shipment id even if it exist in WooCommerce order.
  • Tweak - Tweak in how selected pickup point is displayed for customer on thank you page and in email.
  • Tweak - nShift Checkout CSS tweaks/improvements.
  • Tweak - Adds helper function ksc_get_return_shipment_label_url() so other plugins can fetch the url if needed.
  • Tweak - Adds helper fuction ksc_get_instabox_availability_token to be able to send Instabox specific data in create shipment request.
  • Tweak - Adds support for fetching service id and agent id from Redlights Unifaun plugin in heper functions ksc_get_nshift_service_id_for_order & ksc_get_nshift_agent_id_for_order.
  • Tweak - Adds contact param in receiver and sender sent to nShift in create prepared shipment and create shipment request.
  • Tweak - Adds mobile as param in create prepared shipment and create shipment request.
  • Tweak - Introduces get parcel helper class.
  • Tweak - Use helper function get_parcels in shipment booking instead of get_products.
  • Tweak - Improved handling and display of error messages in requests.
  • Tweak - Possible to get service id for orders created via Collector Delivery Module.
  • Tweak - Use a hashed value as part of the transients name when saving shipping options in ksc_get_udc_options_list function.
  • Tweak - Updates link to documentation.
  • Tweak - Code refactoring.
  • Tweak - PHPCS tweaks.
  • Tweak - Adds order note if prepared shipment couldn't be created for nShift Checkout.
  • Tweak - Make strings in nShift Checkout postal code lookup box translatable.
  • Tweak - Trigger Create prepared shipment request on woocommerce_thankyou (instead of on woocommerce_checkout_order_processed).
  • Tweak - Remove beta label from nShift Checkout feature.
  • Fix - Sends agent / pickup point data correctly in create prepared id request.
  • Fix - Do not try to make a nShift Checkout request if country or postcode is missing.
  • Fix - Use language code received from nShift optionslist (or WP locale) instead of hardcoded.
  • Fix - Improved logic in save_udc_data_to_order, when session data is not available (when saving selected shipping data to order for nShift Checkout orders).

View complete Changelog