• 14th, Jun 2010

How to Create a New Website – Multiwebsite

Creating a new website / store in Magento
1) Creating the folder

cd /magento/folder
$ mkdir newmagentostore
$ cp .htaccess newmagentostore/
$ cp index.php newmagentostore/

2) Modify newmagentostore/index.php
$mageFilename = ‘../app/Mage.php’;

2.1) Modify newmagentostore/.htaccess and add these lines:
SetEnvIf Host “127.0.0.1*” MAGE_RUN_CODE=newmagentostore
SetEnvIf Host “127.0.0.1*” MAGE_RUN_TYPE=website

3) Create a root category (Root NewMagentoStore), mark it as anchor

4) Create New Website
Configuration >>> Manage Store
Name: NewMagentoStore Website
Code: newmagentowebsite
Link to the new store

5) Create New Store
Configuration >>> Manage Store
Name: NewMagentoStore Store
Code: newmagentostore
Link to the category

6) Create New View
Configuration >>> Manage Store
Name: NewMagentoStore View
Code: newmagentoview

7) System >>> Configuration
Scope: Default Config
Currency Setup
Add all new currencies

8) System >>> Configuration
Scope: each View
Currency Setup
set the Default Currency
set the Allowed currencies

9) Config Secure and Unsecure Url
System >>> Configurations >>> Web
Scope: new website_view
Unsecure
Base Url: http://localhost:8888/magento/
Base Link URL: {{unsecure_base_url}}newmagentostore/

Secure
Base Url: http://localhost:8888/magento/
Base Link URL: {{secure_base_url}}newmagentostore/

10) Set conversion rates System >>> Manage Currency Rates

Note: If there is more than one currency allowed, the customer will have a drop-down currency select in each product category.

Note2: If you want to configure fixed prices in different currencies, set the Catalog Price Scope to Website in System >>> Configuration >>> Catalog >>> Price
You will be able to choose the scope config in each product.

Tags: , , , ,

Leave a Reply

*

© 2010 unexpected[it]. All Rights Reserved.