You can display categories on the shop page in WooCommerce by enabling this setting in Appearance > Customize > WooCommerce > Product Catalog> Shop page display setting and chose from the dropdown:
– Show products
– Show categories
– Show … Read more