Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

multi-store multishop system


Guest

Recommended Posts

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 !

Link to comment
Share on other sites

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.

 

 

>> ....

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...