|
I’m posting this in the forum in case someone with more experience sees something wrong with this configuarion. Please speak up if you do. All I know is it works for me.
I was trying to achieve 1 website, 2 stores with 2 domain names and this is how I’ve done it:
First I delegated my 2 domain names to the same namservers -
Go to Catalog > Manage Categories
- I created 2 root categories as anchors (one for each store)
Go to System > Manage Stores
- I left the website name as is (mine was Main Website)
Create your first store - I can’t remember what the default is but you may already have a ‘first store’. if so, just follow the configuration settings.
If not -
Click on ‘Create store’
Website: (greyed out and should read the Website Name)
Name: Type in the name of your store
Root Category: Chose the relevant root category that you created
Default Store View: This one
Create Store View
Store: This one
Name: Type in the name of your store
Code: I called mine wheels but make it whatever nickname you want
Status: Enabled
Sort Order: 0
----
2nd Store set up
- Create a new store
Name: Type in the name of your store
Root Category: Chose the relevant root category that you created
Default Store View: This one
Create Store View
Store: This one
Name: Type in the name of your store
Code: I called this one military but make it whatever nickname you want
Status: Enabled
Sort Order: 0
--------------------
Make sure your index.php file references the code of the default store (in my case ‘wheels’) so it reads:
Mage::run(’wheels’);
-------------------
Go to System > Configuration
Choose your first store in the dropdown on the left
Choose ‘Web’ from the menu on the left
For both ‘base URL’ AND ‘Base Link URL’ I put in:
http://www.myFIRSTstore.com/
SAVE this
Now choose the other site in the drop down and go to WEB
For both ‘base URL’ AND ‘Base Link URL’ I put in:
http://www.mySECONDstore.com/
If you do the above and your second store has no design it’s because you’re linking to a design that doesn’t exist yet (that’s a whole other post).
If you want your stores to have the same designs, you would put your first store URL in Base link URL for both stores.
I hope this helps people and please point out anything that isn’t clear or correct and I will come back and fix it up.
My 2 stores (in the making) can be seen at:
wheelsautomotivebooks.com.au
battlebridgemilitarybooks.com.au
|