I want to log in as customer frontend side.
I have created a customer listing page. But when I click on customer login button customer login without login details.
My Magento v2.0.17
customerloginmagento2
I want to log in as customer frontend side.
I have created a customer listing page. But when I click on customer login button customer login without login details.
My Magento v2.0.17
Best Answer
Create a module with name STech_Login by following steps:
Step 1: Create registration.php under
with below content:
Step 2: Create module.xml under
with below content:
Step 3: Create routes.xml under
with below content:
Step 4: Create Lists.php under
with below content:
Step 5: Create Index.php under
with below content:
Step 6: Create Login.php under
with below content:
Step 7: Create login_index_index.xml under
with below content:
Step 8: Create customers.phtml under
with below content:
Run setup upgrade, di compile and static content deploy.
And test url with
http://example.com/login