HomeHome Product Discus... Product Discus...SmithCartSmithCartAdding a product to the cart directly using a linkAdding a product to the cart directly using a link
Previous
 
Next
New Post
1/3/2010 3:44 PM
 

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:

  1. Add a new product in the Smith Cart module admin from the manage products screen.
  2. Click the view cart screen from the product catalog and go to the cart.
  3. Cut and paste the url from the browser window and paste it into your favorite editor or notepad.
  4. 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


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/12/2010 10:10 AM
 

Is there a similar querystring variable that will empty the cart?

 
New Post
3/12/2010 10:25 AM
 

Currently there is no querystring variable that will empty the cart.


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/12/2010 11:11 AM
 

Can I get my hands on a list of the session variables that I need to clear to empty the cart?

 
New Post
3/12/2010 11:31 AM
 

Its not recommended to manipulate session variables outside of the cart source code but per your other thread I am checking with the dev team to see about clearing the cart.


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/12/2010 12:51 PM
 

Thanks Scott

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartAdding a product to the cart directly using a linkAdding a product to the cart directly using a link