How to manage shipping costs if I have both digital and physical products on my site?
At the moment there is no specific field to specify that a product does not attract shipping fees, please accept my apologies about this. However, what can be done is to use the shipping weight requirement to manage this.
You can set a weight (any positive value will work) for the physical products, and a weight of 0 for the digital products. Then you can configure a free shipping option that is valid only if the weight is 0 (so only if there are only digital files in the cart), and another for weights > 0 (so as soon as a physical product is in the cart, the free shipping option is not available anymore).
In more details:
You should configure two different shipping options:
1. one with a price of 0 (free) and a weight requirement equal to 0
2. one with your usual price and a weight requirement of 0.1 kg (or anything above 0 of your choice)
Then, you can edit your products and add a weight to each product:
1. The weight should be 0 for digital products
2. The weight should be anything above the weight you set for option 2 above for the physical products, for instance 0.2 kg
This way the free shipping option will only be available for your digital products, and if there is a physical product in the cart then the usual shipping price will apply.