News:

Support the VirtueMart project and become a member

Main Menu

Pagination generate bad URL - VM 4.4.6.11109

Started by vdweb.cz, March 15, 2025, 00:16:06 AM

Previous topic - Next topic

vdweb.cz

Hi in pagination there is bug in VM 4.4.6.11109 J 4.4.11

problem is in this file:
administrator/components/com_virtuemart/helpers/vmpagination.php

if i replace file with file from build 11095 pagination work correct, please check this 2 files.

Problem with pagination start when you use sorting sort by price, name, sales (ASC/DESC)
page with URL: /category_slug/by,product_price/dirAsc
V 11109 page 2 genarate this URL (its wrong): /category_slug/results,19-36
V 11095 page 2 genarate this URL (its correct): /category_slug/by,product_price/dirAsc/results,19-36

hazael

Why do you need this primitive pagination? Now everything has moved to smartphones, and there nobody likes this cumbersome pagination, which never worked well in Virtuemart. Make yourself an automatic loading of more pages in javascript. Convenience, speed and less google spam.

See how it is done at my place - once you click on [show more] and then each product adds itself to this list of products without reloading the page:

https://piekielko.com/sklep/srebrna-bizuteria

https://horyzont.com/projekty-domow/jednorodzinne

vdweb.cz


Kuubs

Quote from: hazael on March 15, 2025, 11:35:24 AMWhy do you need this primitive pagination? Now everything has moved to smartphones, and there nobody likes this cumbersome pagination, which never worked well in Virtuemart. Make yourself an automatic loading of more pages in javascript. Convenience, speed and less google spam.

See how it is done at my place - once you click on [show more] and then each product adds itself to this list of products without reloading the page:

https://piekielko.com/sklep/srebrna-bizuteria

https://horyzont.com/projekty-domow/jednorodzinne

How'd you do that?