Display product categories loop. The « number » field is used to display the number of products and the « ids » field is to tell the shortcode which categories to display.
Set the « parent » parameter to 0 to only display top level categories. Set ids to a comma separated list of category ids to only show those.