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 ?

0

you can fetch category page code from,

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

folder.

here you can fetch your code.

  • 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? – user2431224 Jun 30 '16 at 5:06
  • using template path hints open in magento you can find related file – Rakesh Jesadiya Jun 30 '16 at 5:07
  • & controller path? – user2431224 Jun 30 '16 at 5:10
  • inside controller folder /module-catalog/Controller/Category – Rakesh Jesadiya Jun 30 '16 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 ?? – user2431224 Jun 30 '16 at 5:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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