VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: vdweb.cz on March 15, 2025, 00:16:06 AM

Title: Pagination generate bad URL - VM 4.4.6.11109
Post by: vdweb.cz on March 15, 2025, 00:16:06 AM
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
Title: Re: Pagination generate bad URL - VM 4.4.6.11109
Post by: hazael on March 15, 2025, 11:35:24 AM
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
Title: Re: Pagination generate bad URL - VM 4.4.6.11109
Post by: vdweb.cz on March 15, 2025, 21:48:36 PM
Still its bug, that must be fixed...
Title: Re: Pagination generate bad URL - VM 4.4.6.11109
Post by: Kuubs on March 23, 2025, 10:44:29 AM
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?