Using: Joomla! 3.4.8 Stable
VirtueMart 3.0.12
Is it possible to disable SELECTED virtuemart categories on the Joomla front page when using the category layout?
However I still need ALL categories to be on display in the virtuemart store view.
Basically I only want my key categories on display on the home/front page.
Many thanks,
Mat
I did something like that a couple of years ago. The site front page was built as a Joomla article rather than a VM page, with the few required categories coded on the page. The normal VirtueMart homepage was used through a "Store" menu link.
or over ride components\com_virtuemart\sublayouts\categories.php and drop them out of the loop if they don't match a $allowed_cats array u create
might mess up row counts etc
$allowed_cats = array(1,3,6,7);
foreach ( $categories as $category ) {
if(!inarray($category->virtuemart_category_id,$allowed_cats )) {
Quote from: GJC Web Design on March 03, 2016, 17:06:58 PM
might mess up row counts etc
It did for me every way I tried, which is why I hand coded the page.