AddItem has pre-defined variables for adding to the cart these variables are ItemID, ItemName, ItemCost, ItemQuan, ItemColor, ItemSize. If items are shipped that are over a pound and simply contact us and make sure your cart is setup to include weight which has the drawback of having to specify exact weight on every page that works with items. Assuming you do not have this requirement the code to add an item to the cart is very simple GET request URI. It can also be a POST. The variables are the same. The Color and Size variables in the example below are ommited since our test item is presumed to no need that information. Adding thos variables will follow the same syntax. As any other link or get statement. Posts are also allowed.


                            /cart/home/addItem?ItemID=1001&ItemName=Test Product&temCost=1.00&ItemQuan=1
                        

Since the return of additem is consistent through the site. It is the subtotal. The return can be discarded on success in JavaScript or used. If called as a GET or POST.