Unfortunately there is no way to add breadcrumb or say pathway on product browse pages through virtuemart admin settings and instead it only allows adding pathway on product detail page.

The reason is missing pathway code from shop.browse.php. But not to worry, by following bellow steps you will able to resolve the issue

1. Navigate to:
administrator/components/com_virtuemart/html/shop.browse.php

2. Search the code:

$vm_mainframe->vmAppendPathway( $pathway );

3. Add this code bellow it

// Set pathway on product browse pages:

$tpl->set( 'pathway', $pathway );
$navigation_pathway = $tpl->fetch( 'common/pathway.tpl.php');
$tpl->set( "navigation_pathway", $navigation_pathway );

Finally it’s time to echo pathway from product browse page header file

4. Navigate to:
/components/com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php

5. Search the code:

mm_showMyFileName(__FILE__);?>

6. Add this code bellow it

<?php
// Display breadcrumb on product browse pages:
if( $this->get_cfg( 'showPathway' ))
{
  echo "<div class=\"pathway\">$navigation_pathway</div>";
}
?>

What are you waiting for, go ahead and check virtuemart breadcrumb/pathway is appearing on product browse page

Related posts:

Author:

is co-founder and author of tips4developer. By profession he is a WordPress and Joomla developer.

8 Responses so far.

  1. Hey that was really needful. Thanks for sharing. I’ll surely be looking for more.

  2. Pendentif says:

    I am glad for commenting to let you know of the wonderful discovery my princess enjoyed reading your blog. She noticed numerous issues, most notably what it is like to have an incredible giving mood to get most people easily know a number of advanced topics. You truly did more than my desires. I appreciate you for producing the useful, healthy, informative not to mention unique thoughts on that topic to Jane.

  3. My brother recommended I might like this website. He was totally right. This post actually made my day. You cann’t imagine just how much time I had spent for this info! Thanks!

  4. Wartrol says:

    I’m curious to find out what blog system you happen to be working with? I’m experiencing some minor security problems with my latest site and I’d like to find something more safeguarded. Do you have any recommendations?

    • Amit says:

      Hi,

      I am not sure that what platform did you used for your website but here I used WordPress for my Blog site, also i recommend for the same, as there so many powerfull tracking and security plugins available for WP that you can integrate in. But don’t forget there is no platform in this world that gives 100% assurance of being hack-proof

  5. Hi! Would you mind if I share your blog with my facebook group? There’s a lot of folks that I think would really appreciate your content. Please let me know. Thanks


Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin

Joomla – Allowing

Recently I got an requirement to add multiple email ID’s ...

WordPress - Controll

Page Lists Plus is one of the most use full ...

IE compatible mode â

I noticed most of the web developers and designers hate ...

Adding PayPal Donate

Adding PayPal Donate Button in WordPress Post and Page are ...

Multi Browsers CSS H

Here I am sharing few of the very useful multi ...

Joomla – Allowing

Recently I got an requirement to add multiple email ID’s ...

Virtuemart – Setti

In my last project I got a requirement from my ...

3 Best Security Ext

Joomla is one of the fastest growing and best CMS ...

Joomla Conditional S

With the help of Joomla conditional statements you will able ...

Virtuemart - Special

Here I am sharing the virtuemart code snippet to display ...