StarterCart 1.0 Beta Documentation: Get Product Information

Get Product Information

StarterCart comes with very simple product management (good thing it can be easily customized). By default, products come with the following fields;

The products are managed by Application.StarterCart.Products, which extends Records.cfc. Most of what the Products component does derives from Records.cfc, so that will be helpful documentation.

Products can be retrieved using the "getProducts" method. This method can take any field for the products as an argument. It will then return only products where the given field matches the value for that argument.

Additionally, it can take any argument for the "getRecords" method of DataMgr. So, for example, it could take a "MaxRows" argument to limit the number of records returned or a "fieldlist" argument to limit the fields returned.