The simplest way to configure Google Webmaster Tools for OpenCart would be to download the HTML file that you are prompted with in the options of Webmaster Tools, and upload it to your public_html directory using the cPanel File Manager. This way, no code will need to be changed.