简体   繁体   中英

Multiple magento stores on single domain

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've 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM