Hi Everybody, I am Cuong, Welcome back to my Magento 2 tutorial video series.
Today, I am going to show everybody a best practice, how to add a new checkout step in Magento 2.
As far as we know, the default Magento Checkout consists of two steps:
1. Shipping Information
2. Review and Payments Information
In this exercise, I am going to add a new custom checkout step called “Hot Deals”, It will be displayed before the shipping step and it will show the products in the category named “Hot Deals”, that allows the customer to add these products to the shopping cart if they would like to purchase it.
To complete this best practice please follow the below steps:
Step 1: Create a new module named PHPCuong_HotDeals
– Create the namespace PHPCuong in the path appcode.
– Create the module named HotDeals in the path appcodePHPCuong.
– Create the file named registration.php in the path appcodePHPCuongHotDeals