Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categories Module / URL rewrite Bug #682

Closed
artmonkey opened this issue May 21, 2013 · 2 comments
Closed

Categories Module / URL rewrite Bug #682

artmonkey opened this issue May 21, 2013 · 2 comments

Comments

@artmonkey
Copy link

I've run across an issue with the category module (sidebar) which I believe exposes a bug in the URL rewrite system. Running latest opencart 1.5.5.1

The active trail breaks if you put an SEO keyword on a child category but not a parent category. (Due to the module not picking up the parent category in the first segment of the URL)

The url breaks and does not allow you to enter a child category if you put a SEO keyword on a parent category but not the child category. (Due to the URL not getting the target category as the second segment)

Everything works correctly if both categories have SEO keywords or both categories do not have SEO keywords.

Example....

  • parts (no keyword) - works. URL = /index.php?route=product/category&path=91
    • nuts (no keyword) - works. URL = /index.php?route=product/category&path=91_102
    • bolts (keyword) - link works / active trail doesn't. URL = /bolts
  • widgets (keyword) - works. URL = /widgets
    • big (keyword) - works. URL = /widgets/big
    • small (no keyword) - link broken / sends to parent. URL = /widgets
@opencart
Copy link
Collaborator

then don't use the same seo keywords!!!!

thats a user bug not a opencart one!

@artmonkey
Copy link
Author

It's not an issue of using the same keywords. If one category has a keyword and one does not it breaks. Just trying to help out, but seems from looking through the issue tracker anytime someone brings up an issue it's immediately closed and the person is an idiot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant