I think I explained in another thread here that you can configure a single product as a download that also integrates with SwiftCD, so that may solve your problem.
The multi-add code example above is complete and accurate; if you wish to use that, you'd just need to string it all onto one long line and replace the URLs with real Add to Cart URLs from your button codes for the products you want added to the cart together from a single link/button.