before you start using ecart. you will need to define your Dreamweaver site for dynamic web development.
in the site settings set the Server Language to PHP
you then need to create a new php page, save it to your Dreamweaver Site and have that page open in Dreamweaver.
see the learning resources page for details on defining your site:
resources.php