israelans Posted October 7, 2018 Posted October 7, 2018 I could not understand the "Display products from subcategories" function in the "AdminCategories" section. I selected "No" in "Display products from subcategories" and I can not see any difference in the behavior of the category page. I found that by selecting "No," the category page would not display the products associated with it. And by selecting "YES", the category would display the products assigned to its subcategories. Could you tell me how the function "Display products from subcategories" works?
lesley Posted October 7, 2018 Posted October 7, 2018 Say you have a category called Car Parts, with no products associated in it, but sub categories associated with it. In those sub categories you have products associated with those sub categories. Selecting that button will allow you to show those products in the Car Parts category as well.
israelans Posted October 7, 2018 Author Posted October 7, 2018 Thanks @lesley It was exactly what I imagined! But ... in my 1.0.7 installation is not working :( Even marked "No" and the product not being associated with "Category", the products of the subcategory are shown in it :/ See the video: https://youtu.be/aX1MgvTp0dM
lesley Posted October 7, 2018 Posted October 7, 2018 Ahh, the reason is that the layered navigation overrides that functionality. Disable that module and test. The reason it does so, is that the sub category filter would be useless if it did not.
israelans Posted October 7, 2018 Author Posted October 7, 2018 Many thanks for the excellent clarification @lesley -- I tested it and it was a success! I was sad that this functionality was not compatible with LayeredNavigation :( But, Every day more sympathetic to ThrityBees
lesley Posted October 7, 2018 Posted October 7, 2018 No problem, this is one of those things that is tough to document and put somewhere that people will see it. There are a couple of options of what you could do if you do not want to show the products in that category. One would be to disable the layered navigation on the parent category, that would fix it. Especially since it is not going to be used if you are not showing any products in the parent category.
israelans Posted October 8, 2018 Author Posted October 8, 2018 Ahhh ... Really! He had not considered this possibility. Thank you one more time!!! #5Stars
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