Create a New Page
This information applies to:
On-Prem
Adobe Commerce Cloud
Adobe Commerce as a Cloud Service
Aobe Commerce Optimizer
Yes
Yes
No
No
Create a page that returns JSON with one parameter.
Who is this video for?
- Developers
Steps to add a page
- Create a module
- Add a routes.xml file
- Add a controller (action) file
Steps to create a module
- Create the module folder
- Create the
etc/module.xmlfile - Create the
registration.phpfile - To install the new module, run the
bin/magento setup:upgradescript - Verify that the module is functional
Video content
Useful resources
recommendation-more-help
commerce-learn-help-home