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

Search only for category on store #5477

Closed
webcorvo opened this issue Jun 5, 2017 · 4 comments
Closed

Search only for category on store #5477

webcorvo opened this issue Jun 5, 2017 · 4 comments

Comments

@webcorvo
Copy link

webcorvo commented Jun 5, 2017

Hi,
For search only for a category on store you must change the page
/catalog/controller/product/product.php

line 199:
search for:
if (isset($this->request->get['search']) || isset($this->request->get['tag']))

replace for:
if (isset($this->request->get['search']) || isset($this->request->get['tag']) || isset($this->request->get['category_id']) || isset($this->request->get['sub_category']))

OC Version 2.3.0.2

@danielkerr
Copy link
Member

unneeded

@webcorvo
Copy link
Author

webcorvo commented Jun 6, 2017

unneeded why not?
I think that you don´t know other stores!!!
I made other thing, when the keyword don´t exist, show all products!!!!!

@danielkerr
Copy link
Member

danielkerr commented Jun 6, 2017

im not here to argue with you! i have better experience than you!

@webcorvo
Copy link
Author

webcorvo commented Jun 6, 2017

ok

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

2 participants