Quote Originally Posted by KristinaLynn View Post
Hi Everyone!
I'm sure this is going to be a simple question to answer but we will see! I'm running ZenCart 1.3.8. I downloaded and modified one of the free templates from (sorry, site offline). I'm now trying to add Google Analytics and it says to modify the /includes/templates/[your_template]/common/tpl_main_page.php file. The only files that came with the free template are: CSS, images, and a template_info.php file. My question is, where do I put the code? Do I need to copy files from the template_default folder into my custom template folder?

Thanks for your help!

Kristina Marshall
Hi, Kristina ... just create a 'common' folder in the your_template folder, then copy the tpl_main_page.php file to it from the default_template/common folder, and make your changes to the new tpl_main_page.php file. Many changes for Zen Cart custom code can be made similarly, without touching the original code.