1

I have created subdomains in my Magento main installation, such as: - companyA.mydomain.com - companyB.mydomain.com - companyC.mydomain.com - ...

Here are my needs:

  • I would like that employees of companyA have unique access to the webstore companyA.mydomain.com, so I think about a kind of portal access from where they can login. For instance, even if he knows that companyA.mydomain.com exists, another customer can only login to the webstore mydomain.com (I will remove the option "order as a guest" for both webstores company.mydomain.com)
  • Employees of companyA could also visit mydomain.com but they must not have access to companyB.mydomain.com and companyC.mydomain.com.
  • The webstores are both pointing at the same categories and products. Only the prices will change.

Could you help about the best method to get this kind of structure? Is there any Magento extensions I could use?

Thanks for your help.

1 Answer 1

0

You can try the following:

  1. define for every store their own category tree
  2. install https://github.com/Vinai/groupscatalog2
  3. put all the customers from companyA in group companyA
  4. only allow companyA to access the tree

If you have the complete same categories

Alterantive 1

clone the tree (bad idea, but easy to make) and go with the first answer

Alternative 2

  1. use https://github.com/Vinai/loginonlycatalog to make sure, that everyone has to login before accessing the page (I don't know whether you can restrict this to certain stores/websites, if not happy coding)
  2. implement an observer which makes sure, that only customers can login which are of a certain customer group
5
  • Thanks for your reply. I forgot to say that each store is pointing at exactly the same categories and products. The only changes between the webstores are mainly graphic changes, such as the main logo, the banners,...
    – Jukemax
    Jun 11, 2015 at 12:39
  • updated answer. Jun 11, 2015 at 12:51
  • Thanks Fabian. I will try your solution. Just a question: Is the step "cloning the tree" mandatory to make the extenson work?
    – Jukemax
    Jun 11, 2015 at 13:05
  • sorry wrong numbering due to markdown, updated again Jun 11, 2015 at 13:06
  • Hello Fabian, I tried to install this extension (alternative 2) but the extension key is not recognized in the Magento Connect Manager. So I downloaded the file and tried to install it with the Direct Package file upload menu but it doesn't work. Do you have any idea how to make it work?
    – Jukemax
    Jun 15, 2015 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.