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

Upgrade of 2.0.24a- on categorie page showing all products beneath

Started by bomneukmc, November 19, 2013, 08:14:17 AM

Previous topic - Next topic

bomneukmc

Hinguys,

As stated in the title im having an issue with the catgeries view in vm 2.0.24a / j2.5, its showing all the products beneath the category layout that i set as the webshop frontpage. Is there anyway to disable the products beneath? I allready tried to override it woth a category display but then the products don't show up.

Thankxs in advance

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

bomneukmc

Hi Jenkin,
That is one of the first things i tried, but after changing it to categories, the products fter clicking on the categorie won't show up.. Any clue what I am missing?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

bomneukmc


bomneukmc

Ok made an template override and changed browse-view to browse-view-cat ( incl adjusting the css in my overrides ), selected it in the config but it did not help at all. When setting it back to default everything shows up normally.

I'm stuck, any pointers?

jenkinhill

From the live update info:

Fixes for 2.0.24b

The version 2.0.24b fixes mainly two problems in 2.0.24a,

    one is that the category ordering is always by name and not using the manual ordering
    the other is that the invoice is not using the layout override.
    Category tree cache was not always used and not always correctly updated

in case you have a category module using an override based on the old file,.. please search for JFactory::getCache and delete this line. Search also for $cache->call( array( 'VirtueMartModelCategory', 'getChildCategoryList' ),$vendorId, $category->virtuemart_category_id ); and replace it by VmModel::getModel('category')->getChildCategoryList($vendorId, $category->virtuemart_category_id ); Be aware it can be also $child instead of $category. the part behind getChildCategoryList stays the same. This change enhances in some stores drastically the speed.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jenkinhill

For categories only display I have a main menu link set to VM type "Category Layout" with the  "Select a Category *" set to Top Level Category and Browsepage set to no override.

Then as I described earlier Config/Templates/Shopfront Settings I have set Category Layout to Categories.  I have no overrides and am using Beez20 template.

Alternatively set the Browsepage on the menu editor to "Categories" in which case for shopfront setting you can set anything and it should still show just the categories, no products.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

bomneukmc

Hi Jenkin,

I also read the other posts, but it only works with the Joomla basic template like beez. The site i am adjusting has a siteground template. Is there any solution how we can get it working under other templates besides the basic?

jenkinhill

I have set up a plain category page using a Shape5 and a Joomla51 template - I can't see Siteground being any different, but you can use an override for the layout, just select the override file for Browsepage in the menu editor.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/