News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Get ALL categories? (mod_virtuemart_category)

Started by EvanGR, March 10, 2020, 11:29:27 AM

Previous topic - Next topic

EvanGR

Quoting from an older/custom version of mod_virtuemart_category.php

$categoryModel = VmModel::getModel('Category');

...

$categories = $categoryModel->getChildCategoryList($vendorId, $category_id);



How do we get ALL VM categories instead?

StefanSTS

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

EvanGR


StefanSTS

Look into the view files of mod_virtuemart_category. There are different layouts.

I guess what you are searching for might be in all.php.

STS
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Studio 42


EvanGR

Thank you people.

all.php template had the information I was looking for.