RE: login at other location than at checkout?
Ian <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <aaf7f11c9eaec5a4c722ac79cec6f401@osCommerce-Forums> |
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=163697#163697
----------------------------------------------------------------
If you want to force customers to login before entering your site you can add the following code to the end of application_top.php
[code]if (!$customer_id) {
tep_redirect(FILENAME_LOGIN);
}
There is also at least one contribution to add a login box to the side column :) [/code]