Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Pending Public Category: Technical Support / Bugs Ticket #811

J2Commerce 6 on new Joomla 6 "Product Category 'List' View" menu bug

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Mark Stiegemeier

I am evaluating J2Commerce and have installed it on a fresh Joomla 6. While playing with my homepage, I wanted to use the Category List view. Everything looks fine until you click on a category and get a 404. Here is what perplexity determined:

Root cause

In J2Commerce 6 (the new Joomla 6‑native version):

  • The component namespace and MVC structure were completely rebuilt.

  • The old J2Store/J2Commerce v4 view names like category do not exist in v6.

  • The menu item type you're using — "Product Category List View" — appears to be a J2Commerce v4 menu item type, not a valid v6 menu item type.

When you click the category buttons on that page, Joomla tries to route to a category view that doesn't exist in com_j2commerce under v6, resulting in the 404.

In other words, you're mixing J2Commerce v4 menu items with J2Commerce v6 core.

Olivier Buisard Staff

Hello Mark,

Yes, you just hit an 'AI is not always right' moment.There is no mix of menu items between J2Commerce 4 and 6.

However, the behavior on sub-categories is incorrect in J2Commerce 6, you should not get a 404 when selecting sub-categories of a category.

A workwaround, for now, is to create a 'Product Categories' menu item, even if you don't show it in your menu. It will ensure there is an associated menu item for the categories. 

Olivier.

Adam Melcher Staff

Mark,

If you can update your website information on the ticket I can take a look at it. Most likely, you are using a category menu item when it should be a categories menu item - one categories menu item is all you need to manage multiple categories and their children categories - works the same way with the core Joomla 6 categories menu item. Switching to a single category list view only creates urls for that category, if you have sub categories below them, you would either need to change the parent to the categories menu item or create category menu items for each of the children...

 

Adam

Olivier Buisard Staff

We addressed this issue in the upcoming bug fix release of the extension so you don't have to think of it again :-)

Olivier.