Add Shopping Cart items (Amazon style) to my main navigation menu

Hi,

I would like to add a shopping cart icon with items and value to my main menu header

I've downloaded "MP Anywhere Cart" and created a widget from

http://www.marketpressthemes.com/our-plugins/

But I can't figure out how to add it to the Main Menu. I've found this support page

https://premium.wpmudev.org/forums/topic/how-do-i-place-a-dynamic-shopping-cart-into-the-header-not-just-a-sidebar-widget

Added the code suggest by Ashok into my Avada child functions.php but it's not working.

I've got the widget working and showing what I want but i dont know what else to do. I've also downloaded the floating cart plugin and activated it

Any help much appreciated. Just to clarify I'm using the Avada theme. I guess the code may need a tweak?

Cheers!