Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
Prestashop pagination weird behaviour of previous button

im working on building shop with Presta, I have problem with previous button in pagination at category page, it always adds something to href, it wouldn't be a problem but i wrote javascript to operate things like changing products per page or category filters by changing links.

Lets say my actual link is something like

localhost/index.php?id_category=10&controller=category?resultsPerPage=18&page=2

Normally previous button should have href to

localhost/index.php?id_category=10&controller=category?resultsPerPage=18

But in my case it has href to

localhost/index.php?id_category=10&controller=category?resultsPerPage=18y

I tried to make js script to slice last letter from href, but it just doesnt work, there's always something added to this href, letter isn't problem it just looks weird but site as far as i tested works fine, but if it is digit it can result in change properties of for example resultsPerPage. I wonder if its a problem with Pagination.php and its' link building method, because in my scripts i have nothing that could couse this problem, maybe anyone had same problem and knows any solution?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda