Currently Im using a woocommerce plugin for my shop and it works well and looks good, however I wanted the textual cart in the menu to be exchanged with a cart icon like above. There were several solutions and others just showing you how to setup and use the plugin. Finally found a suggestion that involved editing the php and seemed to work for the user. I tried the suggested technique and it resulted in a parse syntax error that meant I could not access my site at all. That resulted in me being unable to fix the error. Once I fixed the problem (see fix parse error for more on how I fixed it.)
Once I experienced the parse error I gave up on trying to change ‘cart’ the text into the icon version.