VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jimiverhaegen on December 31, 2014, 12:23:24 PM

Title: Empty category with "Virtuemart Category"-module
Post by: jimiverhaegen on December 31, 2014, 12:23:24 PM
Hi,

I am working on my first webshop with Virtuemart and I have to say it's a smooth experience. But I have ran into a few small problems.

I have activated the "Virtuemart Category"-module and put it at the left side of the website. It works like a charm because I can see all the top level categories and I can click on the first two categories. But when I click on the last category, "Valentijn", I get no results. Even though there are 27 articles in this category.

The category "Valentijn" has exactly the same settings as the other categories.


Another problem is the pagination. When I click on a category and go to the second page, I can't go back to the first page. Peter Pillen's "dirty workaround" works, but is still dirty and makes it harder to upgrade Joomla in the future. https://forum.virtuemart.net/index.php?topic=112075.msg376934#msg376934 (https://forum.virtuemart.net/index.php?topic=112075.msg376934#msg376934)

The problems stay when switching templates. (Current template: excite)
The problems do go away, however, when SEF is disabled.

Thanks in advance!

VirtueMart 3.0.2
Joomla 3.3.6
PHP Version 5.6.4
Title: Re: Empty category with "Virtuemart Category"-module
Post by: GJC Web Design on December 31, 2014, 12:53:29 PM
QuoteAnother problem is the pagination.
- discussed here often - it appears to be a Joomla problem and will hopefully be fixed in J3.4

re Valentijn - double check that all products are "available" for public etc

during dev leave all sef off - it makes troubleshooting possible - with on who knows where the urls are leading
Title: Re: Empty category with "Virtuemart Category"-module
Post by: jimiverhaegen on December 31, 2014, 13:01:24 PM
Thanks for the reply and thanks for the SEF-tip.

All the products of the "Valentijn"-category are available to public.
Title: Re: Empty category with "Virtuemart Category"-module
Post by: jjk on December 31, 2014, 18:52:46 PM
When I use the URL http://jethearts.com/mj/index.php/valentijn/orage-breekhartje-457-detail?start=0 it shows the product and the correct breadcrumb navigation.
What happens if you add your valentijn category to the top menu. You do not have valentijn in that menu.
Title: Re: Empty category with "Virtuemart Category"-module
Post by: jimiverhaegen on January 09, 2015, 14:04:34 PM
The breadcrumb is fine, but the pagination of the categories is not working properly.

I added Valentijn to the top navigation menu as well and it works now! Thanks for the tip! And if the customer doesn't want Valentijn to be in the top navigation I can always hide it with CSS  :).
Title: Re: Empty category with "Virtuemart Category"-module
Post by: jjk on January 09, 2015, 14:31:37 PM
Quote from: jimiverhaegen on January 09, 2015, 14:04:34 PM
...the pagination of the categories is not working properly.
That's a Joomla 3.3.6 bug. You could probably use a Joomla 3.4dev nightly build to solve that problem. http://developer.joomla.org/cms-packages/
Title: Re: Empty category with "Virtuemart Category"-module
Post by: jimiverhaegen on January 12, 2015, 10:40:59 AM
Quote from: jjk on January 09, 2015, 14:31:37 PM
That's a Joomla 3.3.6 bug. You could probably use a Joomla 3.4dev nightly build to solve that problem. http://developer.joomla.org/cms-packages/
Alright, I think it's fixed now! And I put "Valentijn" in an invisible menu and it works great.