Shipments (partial deliveries)
An order can be shipped in several shipments. Every shipment has its own
status, carrier, tracking number, tracking URL, shipped date and note, and
contains a count of each shippable product of the order. The shipping status of
the order is derived from the shipments, e.g. partially_ if only
some products are shipped.
The shipments are disabled by default. Enable the feature toggle e.g. in
config/system/additional.php:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['cart.orderFulfillment'] = true;
With the feature toggle:
- The order details of the backend module show the shipments of the order and a form to create a shipment.
- Choosing
shippedin the select of the shipping status creates one shipment with all products which are not in a shipment yet, so shops without partial deliveries ship an order as before. partially_andshipped shippedare derived from the shipments and are not offered in the select of the shipping status anymore.- An order without shippable products gets the shipping status
not_. Products are shippable unless they are virtual products in the cart; product extensions may change that, e.g. EXT:cart_products with the field "Shippable" of a product. Products of orders placed before cart 12.8 are shippable.required
Enable the feature toggle once
Enabling the feature toggle is meant to be permanent. Without the feature toggle the shipments stay in the database, but they are not shown and the shipping status is not derived from them anymore. Changes of the shipping status made in this time do not match the shipments when the feature toggle is enabled again.
Orders shipped before
Orders with the shipping status shipped have no shipments yet. Their
shipping status would be derived as partially_ as soon as a
shipment is created for them. Run the upgrade wizard "Cart: Create shipments
for shipped orders" (extcode) after enabling the feature
toggle, e.g. on the command line:
vendor/bin/typo3 upgrade:run extcodeCartOrderShipments
The upgrade wizard creates one shipment with the status shipped and all
shippable products for each such order. The shipped date is taken from the
order history if it knows when the shipping status was changed to shipped,
otherwise it stays empty. The creation is written to the order history with
the initiator extcode.
The upgrade wizard is only offered with the feature toggle enabled. It can be
run again, e.g. after an order was set to shipped by an extension which
does not create shipments.
Orders with the shipping status open, on_ or in_ need
no shipments, nothing is shipped there.