Author Topic: Display all products in a page  (Read 1964 times)

whoaloic

  • Beginner
  • *
  • Posts: 7
Display all products in a page
« 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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Display all products in a page
« Reply #1 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

whoaloic

  • Beginner
  • *
  • Posts: 7
Re: Display all products in a page
« Reply #2 on: April 14, 2014, 17:29:50 pm »
Thank you very much  :)

suraty

  • Beginner
  • *
  • Posts: 33
  • A beginner
Re: Display all products in a page
« Reply #3 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?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Display all products in a page
« Reply #4 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29