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.
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
<?php
$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]
Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.