"I am not quite sure how I should go about this with Magento”
Also is there a similar way to user the Magento user database to restrict access to CMS pages
Hi, I have run into the retail/wholesale bit.
I started with trying to apply rules to groups.
The challenge is not being able to present data, but being able to manage it on the back end.
This only ends up being a glorified hack.
The Sanest way (proper way) to control your inventory, items, prices, database, access, viewable pages, and custom pages based on customer group is to have another store.
Magento accepts multiple stores. Have you considered this?
The default store you keep as your General/Retail user, the second storefront you set as your Wholesale client.
You share the same global database for items, but each store has individual access with the ability to supersede the global values.
Also, CMS sections can be provided PER storefront, the same naming convention can be utilized for the content on the varied levels.
All Stores - footer_links, Retail - footer_links, Wholesale - footer_links
As a result, you can load in varied links, and content for each store front.
If your template calls footer_links then depending on the storefront, it will call the CMS/Block referred to by the store.
As the second storefront has a different default usegroup, the Retailers do not share access, you will have to manually remove Registration access via the template files.
If you wish to remove access to the entire catalog, you will have to setup if_logged_in() and forward the unregistered user to the registration page.
As far as management goes, now you are easily able to reprice, and then utilize pricing tiers for the wholesale store itself.
So now you have only wholesalers logged into wholesale, and you can provide them additional benefits by buying in larger bulk.
Affiliate yourself with the following:
1) Create a new Root Category for your Wholesale (Catalog/Categories)
2) Create a new Storefront (System/Manage Storefronts)
3) Link the Storefront/View with the new Root Category
4) Go into your Products and Update the Attributes allowing the items to be added to the new Storefront
Site / Development:
As far as programming is concerned there are some more links to reference in managing/creating multiple stores.
You will need to create and reference a separate theme for different user action / design.
I have been able to fully isolate the two accounts with 1.1.6 and successfully implement the different carts while keeping all aspects of the cart hidden. I plan on making a wiki to address this.
My major fallback has been shipping rules. Via the cart, we want completely different shipping methods, different shipping for the US/International. Etc. As the Administration doesn’t contain the ability to differentiate on the shipping via storefront/website by isolated ‘flat rates’ this all has to be custom built.