I'm an IT student and new in magento.
I was wondering, how can I create compare button as on that link http://ultimo.infortis-themes.com/demo/
I found sidebar.phtml file under vendor/magento/module-catalog/..../compare/ but I cannot find any code which would be responsible for creating that button with whole functionality.
Please help. I was looking for any answer in google but mostly there are topic about 'how to disable compare button/features etc' and nobody is asking how to add it.
I would appreciate for any help, advices.