

The multi-step rating engine allows for strategic management of shipping by allowing for plugins to only modify the steps in the rating engine that are required to achieve their goals. Nuts and Bolts of Shipping 3.x The New Rating EngineĪt the heart of Shipping 3 is a new, multi-step, pluggable rating system. Provide post-order support by allowing shipping engines to expose labeling and tracking numbers directly back to the shipping module.Show the user the rates provided and, if necessary, allow them to choose the shipping methods and rates they want.Rating - Individual shipments are rated with shippers.Packing - Orders are packed into boxes/shipments.Splitting - orders are split up based on their shipping location and their shipping destination.Think multiple shipping destinations or gift selection. A new (optional) pre-shipping pane that allows for user customization of the order.
Drupal commerce shipping manual#

To summarize what Shipping 3.x looks like, here is a side-by-side comparison of Shipping 2.x on the left and 3.x on the right: At the core of that is the new rating engine. It logically follows that Shipping 3.x would take advantage of Commerce Shipment and build upon it to create a more robust solution.

Drupal commerce shipping code#
No, primarily, this release attempts to make the developer experience better and make it possible to implement complex shipping requirements with less code and better “core” support for the types of requirements we see on a daily basis. In other words, the goal of Shipping 3.x is not to implement a wide range of functionality. Incorporate common functionality across current shipping modules. Customizations currently involve rewriting parts of every carrier used for shipping. Shipping 3.x has two main goals, summarized here: The existing Commerce Shipping module fails to address these things. Shipping things like chemicals or bulldozers underscore the need for handling complex requirements, rate quoting, and itemized reporting. Being able to intelligently group products into less shipments by the cheapest or closest warehouse can have a huge impact on the bottom line. It’s not uncommon anymore to ship certain products from one or more of these third party logistics providers. 3rd Party Logistics providers, who store products and ship orders on behalf of businesses, are giving their customers the ability to manage and ship orders like their bigger competitors. Functionality that could be centralized has been replicated in module after module, usually as a one-off change. However, since the original release of the Shipping module, the ecosystem and community have changed. For those who do use real-time rating, the existing process offers a simple set of tools that are only adequate for simple shipping needs.

This entirely removes the need for rating.
Drupal commerce shipping free#
Many stores eschew real-time rating and instead opt to offer flat-rate shipping or free shipping on orders. Heretofore, shipping has focused on exposing a simple yet effective API for connecting rating and shipping companies to the checkout process.
