This tutorial shows you how to add exactly the same category link from the single product page to your shop page archives in WooCommerce.
![](https://wpsites.net/wp-content/uploads/2023/10/category-link-shop-page-hook.png)
The Video ( with audio )
A step by step guide showing you how to find the PHP function in WooCommerce files and use it with an action hook to display it before the add to cart button on the shop page and any other archives which use shop page hooks in WooCommerce.
The Code
Copy and paste the PHP code to the end of your child themes functions file or custom code snippets plugin.
Was This Tutorial Helpful?