Post by Jonas92 » Mon Mar 18, 2019 7:42 pm

How to remove breadcrumb path display. I just want to see the last point.
For example:
If there is breadcrumb: OpenCart Community Forum> OpenCart 2.0 Support> General Support

I would like to be shown only: General Support

How can i do that?

New member


Fri May 26, 2017 3:58 pm

Post by IP_CAM » Tue Mar 19, 2019 3:32 am

Well, if you are familiar with the OC way of doing things, some of the
Extension-Wisdom, found here: ... _license=0
might be of help on this. Especially one, called Alea breadcrumb show/hide Module.

And if not, then you'll have to get it made, as Custom Job, and be
willing to pay a medium-to-high 2 figure amount of US$ for it.

Good Luck !

Please don't send me OC Forum Personal Messages, just contact:
OC LIGHT Test Site:
OC V-PRO Test Site:
My Github OC Site:
2'450+ FREE OC Extensions from the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by dparakhiya » Mon Apr 22, 2019 2:37 pm

For quick, professional OpenCart support
contact me on skype : dparakhiya_1
email :

User avatar
New member


Fri Jul 28, 2017 1:13 pm
Location - India

Post by cedcommerceteam » Wed Apr 24, 2019 5:44 pm

Hello @Jonas92,
As breadcrumb is written on all templates by below code,

<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
<?php } ?>

you need to override all templates using OCMOD or VQMOD.

I have written code for OCMOD, below you copy this to any with name.ocmod.xml and install using Opencart Installer
This will make breadcrumbs as per you need for category and product,

you can add other templates seperated by comma (,) and it will work for that templates too like i have added for product and category page path="catalog/view/theme/default/template/product/category.tpl,catalog/view/theme/default/template/product/product.tpl".

<?xml version="1.0" encoding="utf-8"?>
<file path="catalog/view/theme/default/template/product/category.tpl,catalog/view/theme/default/template/product/product.tpl">
<operation error="log">
<search position="replace"><![CDATA[<?php foreach ($breadcrumbs as $breadcrumb) { ?>]]></search>
<?php if(!empty($breadcrumbs)) { ?>
<?php $breadcrumb = end($breadcrumbs); ?>

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email:
CedCommerece : Officail Opencart Partners
CedCommerce Official :
Opencart Services : www.cedcommerce/
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development :

User avatar
Active Member


Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: No registered users and 35 guests