VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: whoaloic on April 14, 2014, 14:24:20 pm

Title: Display all products in a page
Post by: whoaloic on April 14, 2014, 14:24:20 pm
Hello!
I'm trying to display all products from all categories in a page.
I know how to display products from one category but I don't wan't to create a special category "all".
I googled this and I found a solution which say to create a custom menu with URL "index.php?option=com_virtuemart&page=shop.browse", but I get no products found on frontpage.
Any help would be appreciated,
Regards.
Title: Re: Display all products in a page
Post by: jenkinhill on April 14, 2014, 16:02:02 pm
This has been covered several times in this forum.

The url is yourdomain.com/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0   for listing of all products with pagination.

If you really want all products on a single page then use  yourdomain.com/index.php?option=com_virtuemart&view=category&limit=5000&virtuemart_category_id=0   (where the limit set is larger than your number of products)

Both these work with VM2.6
Title: Re: Display all products in a page
Post by: whoaloic on April 14, 2014, 17:29:50 pm
Thank you very much  :)
Title: Re: Display all products in a page
Post by: suraty on January 17, 2022, 15:16:01 pm
This has been covered several times in this forum.

The url is yourdomain.com/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0   for listing of all products with pagination.

If you really want all products on a single page then use  yourdomain.com/index.php?option=com_virtuemart&view=category&limit=5000&virtuemart_category_id=0   (where the limit set is larger than your number of products)

Both these work with VM2.6


Hello and thank you very much for your helpful answer!

Is there any way to create a page that shows just the name of all product category names on top and the names of products related to each category separately under each other?
Title: Re: Display all products in a page
Post by: jenkinhill on January 17, 2022, 16:13:56 pm
That quote was from nearly 6 years ago for a historic VM version!

Yes, you can show categories and products however you want to, if the options in VM menu & layout do not give what you want then write your own code or overrides to achieve it (or hire a developer if beyond your skillset).

If making product lists then you may find changing the "Sublayouts for products in category" template option to "products_horizon (tal)" gives a more useful layout.