in reply to Seeking advice about Shipping and Product Purchases
However that doesn't solve your problem if you want to combine different products into one package.
What you are asking is solving a three dimensional puzzle. If you want to do it exactly it will be quite difficult, although there is probably some mathematical algorithm that will just do so.
A few quick checks however will allow you to approximate the box:
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|