VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: robert101083 on February 26, 2013, 08:22:32 AM

Title: [SOLVED] Virtuemart 2 - Quick Order - Show all Products in one list
Post by: robert101083 on February 26, 2013, 08:22:32 AM
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!!
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: jenkinhill on February 26, 2013, 10:15:14 AM
http://forum.virtuemart.net/index.php?topic=98224.msg328322#msg328322

or a more refined way: http://forum.virtuemart.net/index.php?topic=111003.msg372384#msg372384
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: robert101083 on February 27, 2013, 08:05:22 AM
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
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: jenkinhill on February 27, 2013, 10:08:08 AM
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
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: robert101083 on February 27, 2013, 10:23:18 AM
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.
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: robert101083 on March 07, 2013, 08:54:15 AM
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.
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: jenkinhill on March 07, 2013, 09:58:58 AM
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.
Title: Re: Virtuemart 2 - Quick Order - Show all Products in one list
Post by: MasterDKLB on March 27, 2013, 09:55:28 AM
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?
Title: [SOLVED] Virtuemart 2 - Quick Order - Show all Products in one list
Post by: robert101083 on April 05, 2013, 07:35:08 AM
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]
Title: Re: [SOLVED] Virtuemart 2 - Quick Order - Show all Products in one list
Post by: martinw on April 24, 2013, 13:20:14 PM
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!
Title: Re: [SOLVED] Virtuemart 2 - Quick Order - Show all Products in one list
Post by: mariolr on November 21, 2014, 19:14:07 PM
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