I am new to Magento. I have created a category in the back end of Magento. There are quite few threads about how to assign a product to a category, however I don't understand which file should I use to use that code:
If I understand correctly, the page is generated automatically by Magento, when you create a category and assign products to it. I know there is a view.phtml
file which is a template of how the webpage should look like. Thank you in advance, guys. Will be waiting for your respond.
Almost eight years have passed since I've asked this question. I see now how bad the question is. I should have explained what I want in the first place; and now I can't even recall.
This is how I would approach the problem:
I wasn't aware of these things back in the day. And I wish I would have received this answer back then. I hope it helps other developers who start with the framework and don't know how to structure the app.