I am new to Opencart 3.0.
I would like the default landing page when my customers come to my website to be the login (account/login) page. So far what I have tried is the following:
1. Design > Layout > Default > Edit Default > Route = account/login
2. Design > Layout > Home > Edit Home > Route = account/login
Neither one seems to have had any effect.
Thank you in advance for your help.
I would not suggest this method but you could try to switch the default route from your system/config/default.php file where:
for:
Code: Select all
$_['action_default'] = 'common/home';
Code: Select all
$_['action_default'] = 'account/login';
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yea, I would prefer to stay away from hard coding things. It is rather a simple exercise I want to do and I would be surprised if this is not manageable through the layout editor in admin.
Unless something has changed in the latest release, without an extension, this would be the only location to change the root redirection page.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: pprmkr and 507 guests