Recordset
The recordset you have the products you display in the page, normally this behavior must be insert in a cart repeat region and for each products you have in the repeat region will verify if the product is in stock.
Id record field
The field in the recordset that is the unique column ID
Connection
The connection for your database
Product table
The database product table, where is stored the stock quantity
Id product table field
The field in the recordset that is the unique column ID
Qty stock field
The field in the product table that is the stock quantity