Post by veepeeaa » Mon Dec 02, 2013 1:46 am

I´m asking the solution for this problem from you because you are experts and I myself don´t know much about php.
Thank You in advance!

The problem is that these lines in header.tpl should show categories in opencart shop, I suppose.

foreach ($this->document->Shop_Menu as $result) {
if(isset($result['Shop_catMenu']) == 'Shop_catMenu'){
include $tplPath . "common/Shop_categorymenu.php";

Well, the categories are not shown but instead these error messages:

Notice: Undefined property: Document::$Shop_Menu in /home/content/html/kauppa/catalog/view/theme/shop-opencart/template/common/header.tpl on line 69
Warning: Invalid argument supplied for foreach() in /home/content/html/kauppa/catalog/view/theme/shop-opencart/template/common/header.tpl on line 69

What´s wrong and how to fix it?

Newbie

Posts

Joined
Fri Nov 29, 2013 4:28 pm

Post by ChetanCx » Mon Dec 02, 2013 3:52 am

this is not the default theme that comes with opencart, so its hard to tell what the problem is without looking at the code.
what did you do that made this error appear ? installed some module or something?
if its a paid theme you can always your theme developer to fix it or you might need to hire a developer for this

User avatar
Active Member

Posts

Joined
Sat Dec 08, 2012 8:12 pm

Post by veepeeaa » Mon Dec 02, 2013 6:58 pm

Is it like there should be a file called Shop_menu somewhere but there is not that file to be found?

Newbie

Posts

Joined
Fri Nov 29, 2013 4:28 pm
Who is online

Users browsing this forum: No registered users and 6 guests