Adding a Product to the Cart by Sku

 

SmithCart supports adding products directly to your cart by passing the “sku” in the querystring.  When product sku is passed in the querystring to the cart page, the cart will look up the product by sku and add the product to the cart.   Follow these steps to obtain the correct link for hyper linking:

 

1.  Navigate to the “Manage Products” page and locate the “Sku” of the product you want to add to the cart using the querystring.

 

2.  The format of the URL when passing the product sku in the querystring is the following:

 

https://www.mydomain.com/BuyNow/cart.aspx?Sku=ABC123

 

 

To add a product to the cart using product sku and quantity format the url as follows:

 

https://www.mydomain.com/BuyNow/cart.aspx?Sku=ABC123&Qty=3