Multi Store Customer Restriction

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 10 años
Hi

could you advise if it is possible to restrict a customer to a specific Store?

E.g. We have the scenario where we have common products across all stores which the multi store facility allows, but it we had the following:

store1.ecommerce.com
store2.ecommerce.com

We would only want to allow

customer1 to login to store1.ecommerce.com

and

customer2 to login to store2.ecommerce.com

is this possible?

Thanks in advance
Tommy
Hace 10 años
No, it's not possible out of the box
Hace 10 años
thanks for getting back
Hace 9 años
Hello,

If this functionality is not present out-of-the-box, does any one know what sort of customization needs to be done to make this work?  

I have several stores that should only be accessible to certain customers, however once a customer creates an account they can log in to every single store we have.

Any information would be appreciated.


Thanks!

Mike
Hace 9 años
Me too.

Any help?? Some plugin maybe?
Hace 8 años
maybe a new feature in version 3.70 ? LOL
Hace 8 años
Sure. Please vote for this work item here
Hace 8 años
Has there been any progress on this issue? Will it be available in 3.7?
Hace 8 años
[email protected] wrote:
Has there been any progress on this issue? Will it be available in 3.7?

No. It is still in a Proposed status
Hace 5 años
i am done multi store customer login restriction

store1.ecommerce.com
store2.ecommerce.com

We would only want to allow

customer1 to login to store1.ecommerce.com

and

customer2 to login to store2.ecommerce.com

see some peace of code...


bool status = false;
            var CurrentStore = EngineContext.Current.Resolve<IStoreContext>().CurrentStore.Url;

            var stores = _storeService.GetAllStores();
          
            status = CurrentStore.Equals(value: stores.Where(s => s.Id.Equals(customer.RegisteredInStoreId)).Select(d => d.Url).FirstOrDefault());
            if (status);
            else
                return CustomerLoginResults.WrongPassword;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.