Revert "Redesigned calcTotalRecursive to resolve the amount of needed products correctly"

This reverts commit 75ea0700ee95e647b12202ff7a2b23c50ee29e74.