How to know which layour files to edit?#

System Configuration -> Advanced -> Developer

Make sure you are in website scope

debug->Template Path Hints->yes