aaront1 Posted January 23, 2014 Share Posted January 23, 2014 Hi, can someone show me how do put the product-list.tpl inside the foreach loop of subcategories inside category.tpl? so that on front end, when I click the root category, it will shows all the products under that root category, but group by its sub-categories. I did try to copy that product-list.tpl code and paste inside, but it doesn't seem to work, I believe i need to modify some variables. please help, thanks, Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 it's not necessary to modify the files, just turn on block layered navigation module and you will see products from subcategories too 1 Link to comment Share on other sites More sharing options...
aaront1 Posted January 24, 2014 Author Share Posted January 24, 2014 ok, I can list all the products on one page, but is there a way or setting to group by the sub-categories? now i only see the top list all the sub-categories. and the bottom list all the products. but I want to show one sub-category name , then list all the products for this sub-category. then a line break, after that show the second sub-category name, and all its products, etc.. 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