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

Use nested sub-categories for site search / ecommerce #31

Open
kevinb456 opened this issue Aug 23, 2017 · 0 comments
Open

Use nested sub-categories for site search / ecommerce #31

kevinb456 opened this issue Aug 23, 2017 · 0 comments
Assignees

Comments

@kevinb456
Copy link
Contributor

currently just reports the category used (i.e. what is in the opencart database). e.g. for the nested categories;

Computers

Big Ones

Yellow Big Ones

currently reports "Yellow Big Ones". Would maybe be better to report full path e.g. "Computers > Big Ones > Yellow Big Ones".

Test if ($category_info['top']==1) , if so then use name (reached top category)
If not, recusively work up tree by using $category_info['parent_id'] to get the next category.
Form full string, maybe limit to 3-5 categories say?

@kevinb456 kevinb456 added this to the Future release milestone Aug 23, 2017
@kevinb456 kevinb456 self-assigned this Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant