You can go into General settings and activate "Debugging" mode. With this, you will get another page of html output when you go to different pages of your X-Cart site, which shows which templates are employed in generatinmg the code for that pages.
Once you have finished your modifications, you can, of course, deactivate it.
