Product.aspx contains a Dataset of the products in a particular category and also an asp:repeater to display those products on the page, initially it looks like the following image.
We now add a cart control by clicking on the insert location in the page and then clicking the WebXeL Cart icon
in the insert bar, the dialog shown in the following image should then appear, give the cart an ID of "Cart1" and check the IsShopForMoreTarget checkbox.
By checking the IsShopForMoreTarget checkbox every time the user visits this page it will automatically be set as the target page when clicking the "Shop For More" button on the cart display page covered later, once you click the "OK" button the
icon should appear in the page where your cursor was positioned.
Now we want to activate the "Add to Cart" hyperlink so it adds the product to the cart when clicked, select the link, then using the built in link editor shown in the following image, select "AddFromDB.aspx" as the File Name.
Then click the Parameters button and in the Parameters dialog click the plus symbol and give the new parameter a name of "ProdID" as shown in the following image.
Then click within the value area and a Dynamic date button will appear (also shown in previous image), click this dynamic data button and select the ProductID field of the Dataset as shown in the following image.
Click ok and the selected expression will be inserted into your parameter value, click the "OK" button on all the other dialogs and your link should now contain an href value of:
AddFromDB.aspx?ProdID=<%# DataSet1.FieldValue("ProductID", Container) %>
Next: AddFromDB.aspx