VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: tom32hl on July 25, 2012, 11:22:40 AM

Title: jump to product without having to open category
Post by: tom32hl on July 25, 2012, 11:22:40 AM
hello,

I use VM2.

I have in each category for each time only one product.

is it possible to jump directly to that one product without having to first in the category.
Title: Re: jump to article without having to open category
Post by: John2400 on July 25, 2012, 13:44:28 PM
Go to menus>>main menus>home>>select>>category Layout>save

then configuration>>shopfront>>max products per View in the front end >>say 50 ( this is just a rough number)

This should throw all products onto the front page.

that is if you are talking about VM or Joomla Articles?

You can always link a menu to a single article Articles Single article? Joomla ( just make sure you are posting in the right forum)

Title: Re: jump to article without having to open category
Post by: ivus on July 25, 2012, 14:28:27 PM
Hi tom32hl,

If you're referring to the following scenario:

Category A -> Product 1
Category B -> Product 2
Category C -> Product 3
Category D -> Product 4
Category E -> Product 5

and you want to display all products without the category:

Product 1 : Product 2 : Product 3 : Product 4 : Product 5

I haven't seen a view written for this particular layout to my knowledge anyway  :-\

I wrote a module this morning to do what you are trying to achieve. If you can use that solution here is the link:

Module to display list of products in a category
http://forum.virtuemart.net/index.php?topic=105653 (http://forum.virtuemart.net/index.php?topic=105653)

I hope this helps.
Title: Re: jump to article without having to open category
Post by: tom32hl on July 25, 2012, 18:39:29 PM
sorry, wrong words!

Jump directly to detail page, if only one product is available in category