V
V
Valeriy Donika2015-01-22 10:47:19
opencart
Valeriy Donika, 2015-01-22 10:47:19

What can happen with Open Cart pagination?

www.proclimate5.ru/konditsionery/nastennye-kondits...
In a category, if you click on the second page, it goes there. But in pagination, the number one is active and not two, and you can’t go back. There are no JS errors. What could it be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2015-01-22
@barsukoff

Because when you go to the 2nd page, you get something like this:
but then the part after the # disappears. Apparently because of this, something is in conflict. Perhaps the filter pro is configured incorrectly.

V
Valeriy Donika, 2015-01-22
@Valonix

$(".pagination .links a").live("click", (function () {
var a = $(this).attr("href");
var b = a.match(/page=(\d+ )/);
$("#filterpro_page").val(b[1]);
doFilter(false);
$('html, body').animate({ scrollTop: $('.product-filter').offset ().top }, 'slow');
return false;
}));
In general, the error was here. I don't have an element with the product-filter class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question