P
P
pegas2017-08-02 09:36:41
PHP
pegas, 2017-08-02 09:36:41

How to remove breadcrumbs on Open Cart?

There are breadcrumbs on all pages (except the main one). Home > 1 > 2. How and in which file to remove the output of the link "Home"?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel, 2017-08-02
@PavelMonro

In order not to delve into the code, you can use css, but it’s not clear why, because this is a logical chain.
The code:
.breadcrumbs li:first-child {display:none;}

Z
zoozag, 2017-08-30
@zoozag

Comment out in all page controllers.
$data['breadcrumbs'][] = array(
'text' => $this->language->get('text_home'),
'href' => $this->url->link('common/home' )
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question