VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: bomneukmc on November 19, 2013, 08:14:17 AM

Title: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: bomneukmc on November 19, 2013, 08:14:17 AM
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
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: jenkinhill on November 19, 2013, 13:31:50 PM
In Config/Templates/Shopfront Settings set Category Layout to Categories. 

See Item 3 in 2.0.24a features on http://virtuemart.net/news/latest-news/450-virtuemart-2-0-24a-includes-klarna-checkout
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: bomneukmc on November 19, 2013, 14:13:06 PM
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?
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: jenkinhill on November 19, 2013, 14:55:14 PM
Works like that for me with that setting. I'm using 2.0.24b
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: bomneukmc on November 19, 2013, 15:50:20 PM
What's the difference between a and b then?
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: bomneukmc on November 19, 2013, 16:13:57 PM
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?
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: jenkinhill on November 19, 2013, 18:20:14 PM
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.
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: jenkinhill on November 19, 2013, 18:28:33 PM
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.
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: bomneukmc on November 20, 2013, 11:50:55 AM
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?
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: jenkinhill on November 20, 2013, 18:46:52 PM
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.
Title: Re: Upgrade of 2.0.24a- on categorie page showing all products beneath
Post by: Milbo on November 21, 2013, 12:00:30 PM
Please read here http://forum.virtuemart.net/index.php?topic=120413.msg410322#msg410322