UPDATED for 3.x!
Supports OpenCart 1.5x - 3.0
This simply forces logged out customers to the account login/register page.
Customers won't be able to visit any other pages until they login.
So I'm releasing this as a vQmod for free.
How to do it
1. Install vQmod from http://vQmod.com if you haven't already
2. Upload the attached xml file to your vqmod/xml folder
3. In your store, Goto Admin->Setting->Design->Layouts
4. If you don't already have an "Account" layout, Create a new layout. Otherwise edit it:
Name: Account
Route: account/
5. Do not assign any modules to this layout.
That's it. Now people who aren't logged in will be redirected to the account/login page before they can access any other part of the site. There they can register, login, forgot password, etc. rendering my old customer login mod useless.
Supports OpenCart 1.5x - 3.0
This simply forces logged out customers to the account login/register page.
Customers won't be able to visit any other pages until they login.
So I'm releasing this as a vQmod for free.
How to do it
1. Install vQmod from http://vQmod.com if you haven't already
2. Upload the attached xml file to your vqmod/xml folder
3. In your store, Goto Admin->Setting->Design->Layouts
4. If you don't already have an "Account" layout, Create a new layout. Otherwise edit it:
Name: Account
Route: account/
5. Do not assign any modules to this layout.
That's it. Now people who aren't logged in will be redirected to the account/login page before they can access any other part of the site. There they can register, login, forgot password, etc. rendering my old customer login mod useless.
Attachments
Supports 1.5.x-3.0
Multi-store Environment for 1.5.1.3 - force login/register
Is there a way to have the same functionality as the admin login screen, but for customers to get to the store frontend base on their email address that they have register with that store?
For example:
share login screen -> CustA (automatically redirect and log onto) -> StoreA (base on email address and register store)
share login screen -> CustB (automatically redirect and log onto) -> StoreB
Currently, Qphoria Customer Login screen kind of does this but it doesn't log into the store it just redirect the url to the store. Then you would have to log in one more time to get to the storefront.
Therefore, If anyone has a mod or could customize Qphoria Customer Login screen to do this I would pay for their service or show me how to do it. I would greatly appreciate the help!!!
Is there a way to have the same functionality as the admin login screen, but for customers to get to the store frontend base on their email address that they have register with that store?
For example:
share login screen -> CustA (automatically redirect and log onto) -> StoreA (base on email address and register store)
share login screen -> CustB (automatically redirect and log onto) -> StoreB
Currently, Qphoria Customer Login screen kind of does this but it doesn't log into the store it just redirect the url to the store. Then you would have to log in one more time to get to the storefront.
Therefore, If anyone has a mod or could customize Qphoria Customer Login screen to do this I would pay for their service or show me how to do it. I would greatly appreciate the help!!!
If you want Connect with Gmail in your login page
This simple and yet powerful extension will follow your users to use gmail login to gain access to your online store.
Download Link:
http://www.opencart.com/index.php?route ... arch=Gmail
Thanks,
Viswanathan L
Saadhvi Technology
This simple and yet powerful extension will follow your users to use gmail login to gain access to your online store.
Download Link:
http://www.opencart.com/index.php?route ... arch=Gmail
Thanks,
Viswanathan L
Saadhvi Technology
i've added common and information to the skip array
Which lets users view non shop pages. The problem is if I got the the root address www.domain.com it redirects to www.domain.com/index.php?route=account/login&SSL but when I click on home in the menu it goes to www.domain.com/index.php?route=common/home and shows the homepage ok. Is there a way to make the root www.domain.com address show the homepage and not redirect to the login?
Cheers, great script btw
Code: Select all
$skip = array(
'payment',
'feed',
'forgotten',
'login',
'register',
'common',
'information',
);
Cheers, great script btw
As a silly guess.. try adding a blank in the array:zennit wrote:Anyone able to help with this?
Code: Select all
$skip = array(
'payment',
'feed',
'forgotten',
'login',
'register',
'common',
'information',
''
);
Maybe i'm looking at this the wrong way, all I want is them to be routed to the login if they access anything with
Code: Select all
?route=product
Who is online
Users browsing this forum: No registered users and 2 guests