In this tutorial we’ll learn how to remove breadcrumb bar in woocommerce. These are default screen for shop and product page.
Here you can see the breadcrumb bar on top of pages. Now we need to remove it. To do so please add the following line of code at the end of your theme’s functions.php
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20);
This code will remove the breadcrumb bar. Save the file and refresh page.
Here you can see the breadcrumb bar removed:
Is it possible remove only “shop” link from woocommerce breadcrumbs?