With Astra, it is possible to add a cart icon for Easy Digital Downloads plugin with simple settings. This article will explain how to add a cart icon in the primary header
Make sure you have activated the Easy Digital Downloads plugin.
To find the setting, from WordPress dashboard navigate to Appearance > Customize > Layout > Header > Primary Header > Custom Menu Item and choose Easy Digital Downloads. It will display the Easy Digital Downloads cart icon at the end of the primary menu.
Like primary header, you can add a mini cart to Above Header and Below Header. Make sure Header Sections addon is activated. Then go to Appearance > Customize > Layout > Header > Above Header > Section ( 1/2 ) and choose Easy Digital Downloads.
Astra Pro’s Easy Digital Downloads addon provides options to change the cart icon, add styling to it, display cart title and total. After activating the addon the setting can be found in customizer under Layout > Easy Digital Downloads > General
Apart from the header, you might need to display a mini cart icon anywhere on the site. Easy Digital Downloads addon from Astra Pro Provides Mini Cart Shortcode, that allows you to display the mini cart icon anywhere you want.
Refer the article here for more information.