[Zen Cart] Breadcrumb error on category pages

Magic SEO URLs for Zen Cart.
verdecoffeemark
Posts: 8
Joined: Thu Apr 17, 2008 2:36 pm

[Zen Cart] Breadcrumb error on category pages

Postby verdecoffeemark » Fri Aug 16, 2013 5:32 am

I have noticed that the breadcrumb navigator on our site is not working correctly, an offline site mirror not running magic seo works fine. I have searched through the forum but can't find anything, hopefully I haven't missed a solution to this!

The breadcrumb works correctly when viewing a product but when on a category page it only shows the current category and the home page, none of the categories in between.

our site is verdecoffee.com

Any help is appreciated.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Breadcrumb error on category pages

Postby inveo » Fri Aug 16, 2013 6:06 am

Please make sure there is a following installation code in includes/application_top.php file:

Code: Select all

include(DIR_WS_INCLUDES . 'magic_seo_url.php');
$current_page_base = $current_page = $_GET['main_page'];
$page_directory = $code_page_directory = DIR_WS_MODULES . 'pages/' . $current_page_base;
include(DIR_WS_INCLUDES . 'init_includes/init_category_path.php');


Also there were some updates released, see: http://www.inveostore.com/magic-seo-url ... #changelog and make sure you are using the latest version.

verdecoffeemark
Posts: 8
Joined: Thu Apr 17, 2008 2:36 pm

Re: [Zen Cart] Breadcrumb error on category pages

Postby verdecoffeemark » Wed Aug 21, 2013 11:44 am

Sorry for the delay.

I have updated to 4.1.02 and can verify this by the header in .htaccess file and checked the code is present in the application_top.php file but am still getting the problem. Any other ideas?

Thanks.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Breadcrumb error on category pages

Postby inveo » Wed Aug 21, 2013 3:58 pm

Please post us exact step-by-step instructions how to reproduce it on your site (it works fine for me but maybe I did not understand the problem 100% correctly).

verdecoffeemark
Posts: 8
Joined: Thu Apr 17, 2008 2:36 pm

Re: [Zen Cart] Breadcrumb error on category pages

Postby verdecoffeemark » Thu Aug 22, 2013 3:14 am

No problem, I didn't notice it for a while either.

Navigate to our website and select "coffee machines" on the left hand menu. The breadcrumbs correctly display "Home > Coffee Machines ". Now click on a sub category in coffee machines say "Espresso", the breadcrumb now displays "Home > Espresso" when it should be "Home > Coffee Machines > Espresso". If you then click on a product it that category the breadcrumbs work correctly again e.g. "Home > Coffee Machines > Espresso > Ruby 1 Group | Black".

It's not working for sub categories for some reason.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Breadcrumb error on category pages

Postby inveo » Thu Aug 22, 2013 6:26 am

Please PM me your ZC admin credentials. I will take a look.