ludbig Posted December 20, 2018 Share Posted December 20, 2018 Hi! I'm a really newbie with PrestaShop code and I want to introduce some modifications into my client template. I want this: filter all products by brands, and then by category. This code can do it, and works with categories, I need exactly the same but with brands. Thank you in advance for any help to convert thats objects, Link to comment Share on other sites More sharing options...
musicmaster Posted December 20, 2018 Share Posted December 20, 2018 This kind of things isn't just loops. You need both special code for database access and display code (a template) and that means that you are building a module. Note that a template contains only the data that has been provided to it. So if you want what you want or what the post you linked to want you can't do it just with template language. 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