Parcel Packer
Test with 2 packages in the end
Settings
Packet: Size & Price
[I] small => 1
[I] medium => 2
Articles
[S] 0 => A1
[S] 1 => A2
Volumes of Articles in Packets
[A] small
[D] A1 => 0.5
[I] A2 => 1
[A] medium
[D] A1 => 0.25
[D] A2 => 0.5
Content of Shopping Cart
[I] A1 => 5
[I] A2 => 1
Results calculated in 8 ms
Price: 4 € or whatever
Packet medium (2 €)
1 x A2
2 x A1
Volume: 100%
Packet medium (2 €)
3 x A1
Volume: 75%
Test with 3 packages in the end
Settings
Packet: Size & Price
[I] S => 2
[I] M => 5
[I] L => 8
Articles
[S] 0 => a
[S] 1 => b
[S] 2 => c
Volumes of Articles in Packets
[A] S
[D] a => 0.2
[D] b => 0.5
[D] c => 0.8
[A] M
[D] a => 0.11
[D] b => 0.26
[D] c => 0.4
[A] L
[D] a => 0.06
[D] b => 0.19
[D] c => 0.27
Content of Shopping Cart
[I] a => 2
[I] b => 3
[I] c => 5
Results calculated in 0 ms
Price: 18 € or whatever
Packet L (8 €)
3 x c
1 x b
Volume: 100%
Packet L (8 €)
2 x c
2 x b
1 x a
Volume: 98%
Packet S (2 €)
1 x a
Volume: 20%