0

I am new to magento 2.I have added 1 category "Clothes" from admin panel. On front, it shows this url :http://localhost/magento-demo/clothes.html

where Can I find this clothes.html page ? there is no code folder inside app folder . Where can I see the code for fetching these categories ?

1 Answer 1

0

you can fetch category page code from,

vendor/magento/module-catalog/view/frontend/templates/category

folder.

here you can fetch your code.

7
  • But there are so many views (.phtml files )in that folder .How will I know which page is loaded ? Also, where can i get the code to fetch them? Jun 30, 2016 at 5:06
  • using template path hints open in magento you can find related file Jun 30, 2016 at 5:07
  • & controller path? Jun 30, 2016 at 5:10
  • inside controller folder /module-catalog/Controller/Category Jun 30, 2016 at 5:12
  • you mean view.php right ?thanks. One last question ,If I need to customise it, do i have to write my own module with same name right ?? Jun 30, 2016 at 5:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.