Before starting, make sure to properly define your Dreamweaver site for Dynamic development:
http://www.webassist.com/tutorials/Define-a-dynamic-site-in-CS5
Then Create a new PHP File and save it to your site.
any pages that you add eCart to will need to have the .php extension.
eCart will not work with static pages that use the .htm or .html extension.