Hello,
in Shoppica 2 (2.2.2) theme and Opencart 1.5.5.1 seems to be something wrong with category.tpl code.
Doesn’t matter, if the count of the products is allowed or not (I have it dissalowed), hereunder errors displays to me.
This fault appears, when module Category is set up as the side module od the product/category/etc page.
Errors:
Notice: Undefined index: count in /catalog/view/theme/shoppica2/template/module/category.tpl on line 5
Notice: Undefined index: count in /catalog/view/theme/shoppica2/template/module/category.tpl on line 9
Notice: Undefined index: count in /catalog/view/theme/shoppica2/template/module/category.tpl on line 24
Line 5
<!--?php if ($module_instance['count']) $categories = $tbData--->getCategoryTreeWithTotalProductsMaxLevel2(); else $categories = $tbData->category_tree; ?>
Line 9
<!--?php if ($module_instance['count']): ?--> (<!--?php echo $category['products_count']; ?-->)<!--?php endif; ?-->
Line 24
<!--?php if ($module_instance['count']): ?--> (<!--?php echo $category['products_count']; ?-->)<!--?php endif; ?-->
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|