Showing Breadcrumb on Homepage in opencart

By default opencart does not show breadcrumb on home page in default theme.  If you want to show breadcrumb on home page, you will have to modify two files.

Controllercatalog/controller/common/home.php, Add following code of lines just before the line $data[‘column_left’] = $this->load->controller(‘common/column_left’);

View   catalog/view/theme/YOUR_THEME/template/common/home.tpl , add following lines of code after <div class=”container”> or as per your theme.

That’s all.  It is recommended to use OCmod for modifying file instead of modifying directly, otherwise it will be lost in future update.

Feeling lazy! NO worry, I attached an OCmod. You can install through opencart extension installer.  Finally, refresh your modifications list in Admin -> Extensions -> Modification

Click here to download breadcrumbonhome.ocmod.xml 

Leave a Reply