VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: VopoloS on October 09, 2016, 18:09:39 PM

Title: List categories
Post by: VopoloS on October 09, 2016, 18:09:39 PM
Hello, gentlemen.
Say, Is it possible to display a list of categories on the main store page, if included multivendors.

Tell me please, where you can fix the code.
Thanks in advance.
Title: Re: List categories
Post by: Studio 42 on October 09, 2016, 18:42:41 PM
You can use the categories module, a template overide and only display 1 level.
Another solution is to add a Joomla  module "customs" and add all the needed categories, so you can display all exactly as you need.
Title: Re: List categories
Post by: VopoloS on October 10, 2016, 07:28:26 AM
I understand that one of the solutions - this conclusion by category modules. I would like to know whether it is possible to deduce the category VM3 means that would not create additional database queries, do not load scripts and styles, etc.

And I want to understand the reason why all the same developers have gone to something that would turn off the display of categories with multivendor inclusion?
Title: Re: List categories
Post by: Studio 42 on October 10, 2016, 15:05:33 PM
The problem is simple, VM set Vendor 1 always if no vendor is know. I'm not writing the code since 3 year, so perhaps if MAx(milbo) see this, he give you an answer.
Title: Re: List categories
Post by: Milbo on October 13, 2016, 09:19:48 AM
You need to set the categories on "shared" and you should see them.