Skip to main content

All Questions

Filter by
Sorted by
Tagged with
8 votes
2 answers
38k views

Magento 2 - Send form data to Controller using AJAX and return Result to PHTML

I am working on a simple custom module, where user can input height and the weight/BMI will be shown as output on form submit. The page where user enters input is Calculation Page while output is ...
Slimshadddyyy's user avatar
34 votes
5 answers
60k views

Magento 2: How to get controller, module, action and router name?

Magento 2: How to get controller, module, action and router name?
Bhavik's user avatar
  • 1,240
2 votes
1 answer
930 views

Create New Module get 404 error(How to debug code)

Hello, I have create new custom module and run frontend get 404 Page error. How to debug module what problem in code ? Please Help me. THANKS.
Mohit Patel's user avatar
  • 3,968
1 vote
1 answer
197 views

How to write a controller to show all brand?

I am new in learning Magento 2 and I installed a module Ves Brand , now I want to create a page that show all brands I need to create a controller
user66253's user avatar
0 votes
3 answers
6k views

Magento 2 how to get Full Action name in controller action?

My controller working but getFullActionName() not called My controller path: Magento20/app/code/Test/Module1/Controller/Index/Index <?php namespace Test\Module1\Controller\Index; class Index ...
Niraj Patel's user avatar