Packer is a GPL Cart module that tries to solve "4D" bin packing/knapsack problem. Useful when you need to know box size/weight to calculate shipping costs. Allows to automatically define the number of boxes needed to fit all the products while adding a new order (saved under $order['data']['packages']
). Administrators can also check whether a list of products fits into a box.
Based on the BoxPacker library.
Installation
- Download and extract to
system/modules
manually or using composercomposer require gplcart/packer
. IMPORTANT: If you downloaded the module manually, be sure that the name of extracted module folder doesn't contain a branch/version suffix, e.g-master
. Rename if needed. - Go to
admin/module/list
end enable the module - Grant module specific permissions at
admin/user/role
- Boxes are managed at
admin/settings/box