oscar-endphasys Posted August 14, 2015 Share Posted August 14, 2015 Hi, I need my Prestashop 1.6 can filter both categories and tags. The faceted navigation module does not include the tags to filter, so not worth it. I need that once filtered by tags, the resulting products can also filter your view by category. I also tried to see if through the URL grabbed me, type: http://miprestashop.com/buscar?tag=outlet&category=12 does not work Can anybody help me? Thank you. Link to comment Share on other sites More sharing options...
Paul C Posted August 14, 2015 Share Posted August 14, 2015 (edited) The simplest way would be to rename all the text references for Brand/Manufacturer to "Outlet", store the "outlet" as the brand and store the "brand/manufacturer" as a tag (again appropriately named in the theme) - that way you can use the built-in layered navigation. EDIT: The only downside is that you can have only 1 "outlet" value which may not work for you. Edited August 14, 2015 by Paul C (see edit history) Link to comment Share on other sites More sharing options...
oscar-endphasys Posted August 14, 2015 Author Share Posted August 14, 2015 No, that is not the solution. I need to filter by tag and category, without change any information of the products. I think that this function is a very logical function. I am very surprised why Prestashop does not include it. Link to comment Share on other sites More sharing options...
Paul C Posted August 14, 2015 Share Posted August 14, 2015 Hmm. I obviously misunderstood. To be honest since you can have multiple categories for a product I don't really see how this feature would be that useful in most cases. You're in danger of using tags as just a second, separate category structure. Another way could be by using features - I've used these before and filtered with them. They are actually quite powerful in their own right and often overlooked. Link to comment Share on other sites More sharing options...
oscar-endphasys Posted September 2, 2015 Author Share Posted September 2, 2015 For example, why does not run a simple URL like this: www.myshop.com/search?tag=christmas&category=20? I think that this function is simple, but Prestashop does not set it. Anybody can helps me? Link to comment Share on other sites More sharing options...
vekia Posted September 3, 2015 Share Posted September 3, 2015 this looks simple only from the url, behind this is whole search controller... Link to comment Share on other sites More sharing options...
NemoPS Posted September 4, 2015 Share Posted September 4, 2015 You'd have to modify the search class for that, "find" method, and add the category filter to the query (as I did with my search by category module) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now