K
K
kentos2020-12-24 17:14:07
opencart
kentos, 2020-12-24 17:14:07

How to fix URL in pagination?

Hello, I have pagination, but it goes to website/page-1/ , but I need website/reviews/page-1/, I poke around in the controller, nothing comes out, I try to concatenate a line, add it as a GET request.

$pagination = new Pagination();
        $pagination->total = $total;
        $pagination->page = $page;
        $pagination->limit = $filter_count;
        $pagination->url = $this->url->link('information/shop_rating', $url . '&page={page}', 'SSL');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VVCh, 2020-12-30
@VVCh

contact the author who made the CNC pagination for you
This is not a standard implementation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question