eCart will add invaluable checkout functionality to your online store. This includes the ability to create and design a shopping cart page, add products to a cart, and create all the necessary pages for processing credit card transactions through a payment gateway.
This guide shows you the process for adding eCart to your online store so that you can start selling products online.
NOTE: eCart does not create your complete online store. It only creates the shopping cart and checkout functionality that must be applied to your website, in order for customers to make purchases, and for your website to process credit card details. You should probably have already set up your product catalog, or the page that you will use to advertise your products.
For more information on creating a product catalog, see the DataAssist Getting Started Guide
The eCart object is the backbone of your eCart functionality. Through the eCart object panel, you define important settings such as the currency your store will use, as well as specifics such as discounts, shipping, or tax rules.
Before using any eCart functionality, you must first have created an eCart object for your Dreamweaver site.

The eCart Object panel consists of 7 different tabs for configuring various settings for you cart. At this point, all you need to configure is the General tab and you can leave all the other options at their default settings. You can reenter this interface at any time to modify how your cart functions.
Just like a typical online store, eCart uses 'Add to cart' buttons that you can place beside each product listing on your website. When clicked, this button will add the item that is for sale to the shopping cart. Customers can continue shopping on your store, adding additional items to their cart, and will then proceed to the shopping cart page when ready to purchase those items.

On the Bindings tab, you specify the details for the product, or, for dynamic buttons, you link the product details to the appropriate columns of your database.
For static Add to cart buttons, follow these steps.
If you are creating Dynamic add to cart buttons, follow these steps outlined here.

Now that you have inserted an Add to cart button, you may need to make changes to the button. For example, if your buttons are static, you may need to modify the price at some point. For dynamic buttons, perhaps you change something in your database and need to update the button to reflect that change.

The next step is to create your shopping cart page using eCart's Display Manager. This is the page your customer will go to and review the items they have selected to purchase. From this page, they can update quantities to be purchased, remove items, and proceed to check out.
The Display Manager allows you to configure and design your shopping cart display.
Before using the eCart Display Manager, you need to create the PHP page that you intend to use as your shopping cart page.

Step 2 of the Display Manager allows you to configure the cart columns that will display on your shopping cart page. The cart columns area displays the columns that will be included in the shopping cart display. The most common options are included by default, but others may be available from the + Add option.


The final step of the Display Manager allows you to specify how you want Discounts, Charges, Shipping and Tax to be displayed on your shopping cart page. By default, the Summary option is selected, which summarizes each of the options in their own section of the cart display.

The last step to getting your eCart functionality applied to your website, is to create the checkout pages using eCart's Checkout Wizard. This wizard guides you through the process of choosing your desired payment gateway, specifying shipping options, tax options, and setting up the appropriate database configuration for your pages.
Before you proceed with creating your checkout pages, you should first ensure you have set up the following:
The first few steps of the Checkout Wizard allow you to choose the payment gateway options you wish to use. If you haven't chosen a payment gateway yet, the information here will help you choose one that best suits your needs.

The next step allows you to configure your shipping options. If you do not wish to charge for shipping, deselect the I will provide shipping checkbox and click Next to configure your tax rules.

The next step allows you to choose how you want taxes to be calculated in your checkout process. If you don't wish to apply tax and handle it separately, choose the No thanks, I'll handle tax calculations myself checkbox and click Next to proceed with configuring your database settings.

On this step, you will specify where you want your order information stored in your database. Your orders will be stored in two database tables, one for storing the summary for each order (total price, customerID, etc.), and another for storing the details for each order (which products were purchased and quantity).
eCart 5 will automatically create the necessary tables in your database, and bind the appropriate data. However, if you wish to use your own custom database, you can manually bind each of the values to the correct database column. 
If Universal Email is installed, eCart will provide you with this step for the Email Receipt. If you do not have Universal Email installed, you will be taken straight to the page designs step.

In most situations, entering localhost for the SMTP server will work.
The Page Designs step allows you to choose from some preset checkout page designs.
The final step of the eCart Checkout Wizard is the Summary, which details all the pages that will be created when you click Finish.
Once you have completed the eCart Checkout Wizard, your checkout functionality has now been added to your site. You will want to start performing some test transactions to make sure everything is working properly. Once all the functionality works as desired, you should start modifying the design of your checkout pages, by applying
There are a number of different ways for you to perform test transactions. If you are using PayPal as your payment gateway, you have the option to use their Sandbox Testing Server to test using fake API credentials. This is useful, but can take some time to configure to work properly. See Using the PayPal Sandbox for more information.
An alternative is to perform real transactions through your payment gateway for minimal amounts (such as 1 cent). This is the best way to test your actual checkout functionality as it would function for your customers. You can always refund yourself later.
If you did not find this helpful or you are stuck on a particular step, click here to let us know what we can do to improve this tutorial.
This form was built using CSS Form Builder.