VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: mailblade on October 09, 2019, 11:31:49 AM

Title: Include "All" in the number of products which can be listed on category page?
Post by: mailblade on October 09, 2019, 11:31:49 AM
I have looked for this solution and did not find it. I have a custom category layout which already lists all the products from both of my child categories.

Literally the only thing I want to do is to increase the allowed number of products per page to more than the maximum of "50".

There is no code on the category page where I can change this value to more than the max allocated of 50.

I am guessing the function is written on another page and called on the category page, though I can not find this function if it is indeed on another script page. I read on one forum post something about "function productListing", but I could not find the actual function.

Any advice would be appreciated.
Title: Re: Include "All" in the number of products which can be listed on category page?
Post by: AH on October 09, 2019, 11:36:08 AM
Look in the configuration section of VM

admin/vm/configuration

Templates tab
"Set the pagination sequence for the List Box"

"Frontend default items per list view"
Title: Re: Include "All" in the number of products which can be listed on category page?
Post by: mailblade on October 09, 2019, 12:26:26 PM
That solution does work, however I have one Parent category menu item which lists products from all categories and 2 child category menu items which list products from their respective categories.

I only want to do this change for the Parent category menu layout and list all items from both categories.