This code displays your linked product category names and thumbnails in a grid using any WooCommerce hook position, In this case, after the shop page title, in columns.
You can use this code with any woocommerce taxonomy.
There’s 2 steps :
Step 1 : Copy the PHP code to the end of your child themes functions file, custom functionality plugin or WooCommerce template file.
Step 2 : Copy and paste the CSS from the style.css file to the end of your child themes style sheet and clear caching.
get_terms parameters for further output control.