How to Enable Breadcrumbs in WooCommerce?

There are numerous plugins for WooCommerce which can help you enable WooCommerce breadcrumb in your WooCommerce theme. But, if you do not enable WooCommerce breadcrumb section via a plugin, you can follow the steps given below and make modifications in your WooCommerce theme.

Enable/Add Woocommerce Breadcrumb

Add following code in header.php file of theme

  <?php if (class_exists('WooCommerce') && is_woocommerce()) : ?>
           <?php woocommerce_breadcrumb(); ?>
  <?php endif; ?>

You can also customize WooCommerce breadcrumb by using following code

	$args = array(
			'delimiter' => '/',
			'before' => '<span class="breadcrumb-title">' . __( 'This is where you are:', 'magik' ) . '</span>'
<?php woocommerce_breadcrumb( $args ); ?>

 If you face any problems or need our professional services, please email us at [email protected]

Join our Newsletter

Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.