PsMax Posted June 5, 2016 Share Posted June 5, 2016 Any Way to get products in category by attributes??let say i have color and size and i want to get all products with color= red and size=big ?? Link to comment Share on other sites More sharing options...
rocky Posted June 6, 2016 Share Posted June 6, 2016 I'm not aware of any core function to get products in a category by attributes. I think you'd have to write your own query, although the "Layered Navigation block" allows you to filter categories by attribute. It creates it's own tables such as "layered_indexable_attribute_group" though. Maybe some code in that module will help you? Link to comment Share on other sites More sharing options...
NemoPS Posted June 6, 2016 Share Posted June 6, 2016 I think rocky is correct when mentioning layered navigation. If you click on those attributes in the layered nav, then you can copy/paste the url when you want. 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