Post by wafflemeister » Fri Feb 22, 2019 1:23 am

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.

New member

Posts

Joined
Fri Jun 21, 2013 11:10 pm

Post by straightlight » Fri Feb 22, 2019 2:44 am

I would not suggest this method but you could try to switch the default route from your system/config/default.php file where:

Code: Select all

$_['action_default']       = 'common/home';
for:

Code: Select all

$_['action_default']       = 'account/login';

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by wafflemeister » Fri Feb 22, 2019 4:03 am

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.

New member

Posts

Joined
Fri Jun 21, 2013 11:10 pm

Post by straightlight » Fri Feb 22, 2019 6:59 am

Unless something has changed in the latest release, without an extension, this would be the only location to change the root redirection page.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 18 guests