VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Genius WebDesign on November 01, 2012, 14:13:34 PM

Title: How do I change the product list limit from 700 to whatever.?
Post by: Genius WebDesign on November 01, 2012, 14:13:34 PM
Hi,

I have made my own custom product module and I want to list more than 1000 products on the page, but the limit in the system seems to be 700 products on the page.

Does anyone know a way to remove og change this limit?

I read in this post where Milbo mentions that the limit is hard-coded, but where and in which file?
https://forum.virtuemart.net/index.php?topic=97074.0


Title: Re: How do I change the product list limit from 700 to whatever.?
Post by: compaid on March 29, 2020, 00:07:54 AM
Here is how I did this. Firstly there is a hard set limit of 700. Reason unknown. Goto virtuemart/ Config, templates and set Show products of the selected category to 700
Then on RH side set all the Pagination sequences to 700 each

Then goto each category and set the field "Initial number of listed items to a large figure. You will find that then displays the products to this number then adds page numbers for the rest. V 3.9.16 VM.
Title: Re: How do I change the product list limit from 700 to whatever.?
Post by: compaid on March 29, 2020, 00:09:16 AM
FOUND A FIX

Here is how I did this. Firstly there is a hard set limit of 700. Reason unknown. Goto virtuemart/ Config, templates and set Show products of the selected category to 700
Then on RH side set all the Pagination sequences to 700 each

Then goto each category and set the field "Initial number of listed items to a large figure. You will find that then displays the products to this number then adds page numbers for the rest. V 3.9.16 VM. I have 7600 products in one category and can now set this to 3000 listed plus page options at header for the rest.

The number entered in the cat field results in a list divided by 700. Just found out. So make it a multiple of 700.