How to call template from a Controller in Magento 2_
Magento2

How to call template from a Controller in Magento 2?

Controllers in Magento 2, like on other PHP MVC frameworks, are important part of MVC flow. In Magento 2 controllers have only one method (execute) that will be called by front controller. It functionality is that received request, process and render page. In Magento 2 Controller has one or more files in Controller folder of module, it includes actions of…

Continue Reading

How to Create Controller in Magento 2
Magento2

How to Create Controller in Magento 2?

Controllers in Magento 2, like on other PHP MVC frameworks, are important part of MVC flow. In Magento 2 controllers have only one method (execute) that will be called by front controller. It functionality is that received request, process and render page. In Magento 2 Controller has one or more files in Controller folder of module, it includes actions of…

Continue Reading

How to Print Log in Magento 2_
Magento2

How to Print Log in Magento 2?

Logs in Magento 2 consist the system information for the future analysis. To enable the debug mode go to Stores -> Configuration -> Advanced -> Developer -> Debug -> Set ‘Yes’ to Log to file. Also make sure Magento store is in developer mode. If Magento store is in Production Mode then need run the below command. php bin/magento config:set…

Continue Reading

How to setup Cron Jobs Via SSH In Magento 2?
Commands, Magento2, Magento2 Commands

How to setup Cron Jobs Via SSH In Magento 2?

Magento cron job is an important component for correct performance. Magento uses cron jobs for numerous features to schedule activities. It is widely used for running actions that are performed on schedule, such as indexing and caching, sitemap generation, currency rate updates, and many more as well. Why need Cron Job for Magento 2 ? Cron job use following activities.…

Continue Reading