Session Variables

SmithCart > Integration
The product listing page of the cart allows you to filter products by Product ID by passing a comma separated list of  “Product ID’s” in a session variable titled "SearchPID".

For example:

Session["SearchPID"] = “1,2,7,8”;
Session["SearchModuleSort"] = "SearchModule";
When the session variable "SearchPID" is populated with a comma separated list of “Product ID’s” and the user navigates to the product listing page, the product listing page will be filtered to display all the products contained in the "SearchPID" session variable.