Here we show an example of how to create a custom report that shows the top 10 best-selling product attributes in your cart database.
Essential steps
- Create a new Ordered products report.
- Add the product option and product option value fields to the report.
- Add the “Record count” metric of the Ordered products record to the report. Change its column name, if you like.
- Save and run the report.
Detailed description
- In the Ordered products tab, click “Reports” and then click the “New” button.
- Type a name for your report.
- Set the record range so that only the first ten records are retrieved.
- Click the field chooser dropdown and then click to open the “Ordered product attribute” section.
- Click the “Option” field so that the product option name gets added to the report.
- The report now has the option name field in it.
- Similarly, add the option value field of the Ordered product attribute record.
- Next, click the “Ordered product” category in the field chooser, so that we can extract the record count (the number of ordered products that contain the given option name and value).
- Click the “Metrics” section underneath, and then click the “Record count” entry to add the record count to the report.
- The record count field is added to the report.
- To rename the column in the report, hover your mouse over the column and click the down-arrow button. This opens a form that lets you change the name of the column.
- Type the new column name and click ok.
- You now see the three columns in the report. Click the “Sort order” tab so that we can have the report be sorted by record count.
- Set the first sort column to be the ordered product count.
- Set the radio button to choose descending sort, so that the highest count (most popular) appears at the top of the report.
- Click the “Save and run” button.
- Your new report runs, and its results are shown.