开发者

Multiple magento stores on single domain

开发者 https://www.devze.com 2023-01-28 10:45 出处:网络
I\'m setting up a website that has a retail store and a wholesalers store. The products in each are different so its not just a matter of adjusting pricing for user types. I need to have the wholesale

I'm setting up a website that has a retail store and a wholesalers store. The products in each are different so its not just a matter of adjusting pricing for user types. I need to have the wholesale section password protected so its only available to logged in users. I'm using a module to achieve this but it only works at a store level hence the need for two stores rather than just separate categories.

My directory structure is as follows:

www.mysite.com - wordpress install for current CMS pages and blog etc www.mysite.com/store - magento install

I want www.mysite.com/store/retail & www.mysite.com/store/wholesale as the two shops.

So my question - firstly does this sound like the right a reasonable approach to achieve this.

Secondly - still trying to get my head around the website/store/view system but am I correct in that I need the one website, and two stores with a view for each. Does anyone know of a good tutorial for doing this sort of setup, I'开发者_如何学JAVAve found a few but mostly they're for setting up different domains to the same install.

Thanks for any advise.


The simplest way (and most used) is to give the two stores the store codes "retail" and "wholesale". This is done in the admin menu System > Manage Stores.

Then, in System > Configuration > Web > URL Options, change Add Store Code to URLs to "Yes".

Since the two stores have separate products, and probably separate customers too then it makes more sense to have them on two separate websites too. Even though they are called "websites" in System > Manage Stores they do not have to have different domains. It will still work perfectly well.

0

精彩评论

暂无评论...
验证码 换一张
取 消