How to add two products in one click
I would do this with rules:

Event

After adding a product to the cart

Action

Add a product to the cart


Parameter: User: [site:current-user], 
Product SKU: [other product
sku] Provides variables: Added product line item
(product_add_line_item)