Orderbot: Set order weight and dimensions based on products
This feature adds a new orderbot action: Set order weight and dimensions based on products. This will calculate the weight and dimensions of the order using the following logic:
Weight - It will sum up the weight of the products in the order and assign this as the order weight.
Dimensions - If there is 1 product on the order, those dimensions will be used for the order.
Usage:
Order weights and dimensions for new orders are calculated based on the products as soon as they are assigned. This occurs before orderbot processing. If the product composition of an order is adjusted during orderbot processing, the order weight and dimensions are not automatically adjusted. This orderbot can be added to a group after another orderbot action that adjusts the products in an order to recalculate the order weight and dimensions. Typical use cases would be to use this orderbot after bundle breakdown or adding an order item via orderbot.
Example: There is an order with 1 item which is a bundle with a weight of 0 but the cores making up that bundle have a weight assigned to them. If bundle breakdown orderbot occurs the order weight would still be 0. By adding the new “Set order weight and dimensions based on products” orderbot after bundle breakdown the weight will be recalculated to use the weights of the cores."