Adding a Product with Serial Number to the Cart

 

SmithCart supports adding products with serial numbers directly to your cart by adding “ProductID” and “SerialNumber” in the querystring.  See the section titled Serial Number Management for more information on the serial number feature in SmithCart and how to create serial numbers in your store. 

 

The value you pass for serial number can be a license key or any string field generated from an external system.  Upon successful order the serial number passed in the querystring is saved with the order detail record of the order and associated with a specific product ordered.  After an order is completed the serial number  is marked as “Assigned” so it is not used by another order and is viewable in the manage order detail screen.

 

Follow these steps to obtain the correct link for hyper linking:

 

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

 

2.  Navigate to the “Serial Number Management” screen in product setup and locate the “SerialNumber” you want to add to the cart using the querystring.

 

3.  The format of the URL when passing a product and serial number in the querystring is the following:

 

Product and Serial Number

To add a product with a serial number to the cart  format the url as follows:

 

https://www.mydomain.com/BuyNow/cart.aspx?ProductID=2&SerialNumber=123AE894582

 

 

Product Sku and Serial Number

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

 

https://www.mydomain.com/BuyNow/cart.aspx?Sku=ABC123&SerialNumber=123AE894582