The Smith Cart supports adding products directly to your cart by adding productid in the url or querystring. This is useful is you are developing your own product catalog navigation & menu system using another framework like flash or want to build your product catalog using normal dnn pages or if you are just selling one product and dont want to use the cart product listing page. The Smith Cart supports adding products directly thru the querystring in the url. Follow this steps to obtain the correct link for hyperlinking:
- Add a new product in the Smith Cart module admin from the manage products screen.
- Click the view cart screen from the product catalog and go to the cart.
- Cut and paste the url from the browser window and paste it into your favorite editor or notepad.
- Add “?productid=1” to the end of the url where product id is the product id assigned after you add a product from the manage products screen in step 1 above.
Example URL:
http://localhost/dnn490/Store/tabid/55/ctl/Cart/mid/377/Default.aspx?productid=1