Guest Posted June 18, 2004 Share Posted June 18, 2004 Dear Hobbzilla, I am happy to use the multi-stores multishop contribution. Since different stores can show different category to different group of customers. But now I have a problem. How can I change the configuration table used according to login customer's store id stored in customers_info table. Thank for your efforts ! Quote Link to comment Share on other sites More sharing options...
Guest Posted June 19, 2004 Share Posted June 19, 2004 Hobbzilla, Thank you for you reply email. I try myself to modify the login.php & application_top.php. It worked as I want. When customer login successfully, the configuration table switch to stores_config_table ( in STORES ) according to the customers_info_stores_id ( in CUSTOMERS_INFO ). In other word, customer only view information of assigned store. If customer login fail or logout, "configuration" table is used as default. Now I'm working on the security problem. Since user may go to any stores (not the default store) without login. K.K. Hobbzilla's reply email :- >>If I understand you correctly, you are wanting to have the customers login's >>not global for all stores but seperate for each individual store? There isn't >>anything in the configuration_table that allows this. >>In order to do that you would need to make some changes to several portions >>of the code incorporating a check and including the table >>TABLE_CUSTOMERS_INFO (if not already included). I know you would need to >>modify login.php, possibly the tep_validate_password() function. There may be >>more but I would have to investigate. As this isn't something I don't currently >>need it hasn't been incorporated. I will add it to the desired features list for >>future development. >> .... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.