News:

Support the VirtueMart project and become a member

Main Menu

[SOLVED] Virtuemart 2 - Quick Order - Show all Products in one list

Started by robert101083, February 26, 2013, 08:22:32 AM

Previous topic - Next topic

robert101083

Hi all,

For this particular site I like to have a menu item that shows the normal shop front (no problem here) and a menu item that shows a list of all products and a order button next to it. In VM1 there was a button in the all-in-one module to show all products, but can't find anything like that in VM2.

Is there anyone who can tell me how to show all products on one page, without losing the normal shop front with the category listing?

Cheers,
Robert

Joomla 2.5.9
Virtuemart 2.0.18b

------------------------------------------

THNX Kelvyn!!

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

robert101083

#2
Hi Kelvyn,

Thank you for that. That got me a "View All" off all the products. To show all the products as a list, I created an other View - list.php - in /components/com_virtuemart/views/category/tmpl/. The problem I'm left with is that I cannot assign the view to a category as browse page.

How can I change the URL so that my list.php is being used as view instead of default.php?

Current URL using:
index.php?option=com_virtuemart&view=category or
index.php?option=com_virtuemart&view=category&virtuemart_category_id=0

Cheers,
Robert

jenkinhill

Use the file as a template override.  The override file should be placed in joomla_root/templates/(your_template)/html/com_virtuemart/category/
See http://www.ostraining.com/blog/joomla/overrides  and  http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

robert101083

I'm not sure if it should be a override. I like to keep the default category view for normal shopping -  for every category. The list view is only for Quick Shopping - showing all products in 1 list.

robert101083

I've been reading about the overrides and still not sure if it should be an override.

I just can't figure out how the use the new view without assigning it to a category. Assigning a view ( as in browse page ) in the menu item is not possible any more either.

jenkinhill

Why not assign all products to a Quick Shopping category as well as their normal category? Then you can apply an override just to Quick Shopping.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

MasterDKLB

Any way for doing this, displaying all products under each category title. Example:

Category 1
- product 1
- product 2
- product 3
- product 4
...

Category 2
- product 1
- product 2
- product 3

And so on?

robert101083

This I what I ended up doing:

Al product go into their own Category AND in the Quick Order Category. The I created 2 menu Items, one for normal shopping by browsing the categories pointing at the Top Category one menu item pointing at the List Category.

See attached file for Category Structure.

Thanks guys!

[attachment cleanup by admin]

martinw

Yes but if you do this you don't see any categories, only straight list with all produkcts. But what if i need to see on Quick Order page all products in category order where they are located ?

Any ideas? extensions for it?

I found this but it's not that i need...
http://forum.virtuemart.net/index.php?topic=98224.msg328322#msg328322
http://www.phpera.com/2011/05/show-all-virtuemart-products-on-single-page/

But here:
http://madeforjoomla.com/mfjdemo1/

i need somethink like this but with all my products in list with pictures, prices and quantity to order.

I can pay for this solution as well!

mariolr

Hi, I'm looking exactly for the same thing,
Quote from: MasterDKLB on March 27, 2013, 09:55:28 AM


Category 1
- product 1
- product 2
- product 3
- product 4
...

Category 2
- product 1
- product 2
- product 3

And so on?


in joomla 2.5 / vm 2.6