R
R
RushV2016-09-21 17:08:30
opencart
RushV, 2016-09-21 17:08:30

How to remove link from last link in breadcrumbs in opencart?

Good afternoon!
Is it possible to somehow remove the link from the last link on the product page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-09-26
@Dil0ng

File catalog/controller/product/product.php
Approximately these lines need to be found

$this->data['breadcrumbs'][] = array(
        'text'      => $product_info['name'],
        'href'      => '',
        'separator' => $this->language->get('text_separator')
      );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question