VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Jeremy858 on May 28, 2019, 06:09:20 AM

Title: How to get all categories and subcategories name in Virtuemart
Post by: Jeremy858 on May 28, 2019, 06:09:20 AM
I created a HTML module and loaded in virtuemart category layout but i need to show all category and subcategory name list so that when user added new category in future , it will updated automatically .

no need to hardcode every time. please help on this topic. you can load these categories name by using while loops in PHP. please reply fast.




VirtueMart and Joomla Developers - php developers mcdvoice (https://www.mcd-voice.me/)
Title: Re: How to get all categories and subcategories name in Virtuemart
Post by: GJC Web Design on May 28, 2019, 09:53:43 AM
import the VM category model and call getCategoryTree()
Title: Re: How to get all categories and subcategories name in Virtuemart
Post by: PRO on May 29, 2019, 22:17:05 PM
The virtuemart category module not good enough?
Or you need more fields?

Title: Re: How to get all categories and subcategories name in Virtuemart
Post by: Studio 42 on May 30, 2019, 00:42:16 AM
This module can display all categories level https://shop.st42.fr/en/categories-tools/virtuemart-categories-menu.htm