Adding New Store in magento

PHP FRY

Step 1 : Create a new category with anchor as yes in display setting.

Step 2: Go to Setting>> Store Management >> Create new website, store , assign root category, store view.

Step 3: Go to Settings >> Configuration >> Click on Web >> Select the Store from drop down >> Enter new base url . >> Save

Step 4:  Set Virtual host: D:xamppapacheconfextrahttpd-vhosts.conf If Xampp

<VirtualHost *:80>
DocumentRoot “D:/xampp/htdocs/teststore”
ServerName example.dev
ServerAlias example.dev example2.dev
##ServerName example1.dev
</VirtualHost>

Step 5: Setup host file “C:WindowsSystem32driversetchosts”

127.0.0.1 example.dev
127.0.0.1 example2.dev

Step 6:Setup htaccess file

SetEnvIf Host http://www.example2.dev MAGE_RUN_CODE=test
SetEnvIf Host http://www.example2.dev MAGE_RUN_TYPE=website
SetEnvIf Host ^example2.dev MAGE_RUN_CODE=test
SetEnvIf Host ^example2.dev MAGE_RUN_TYPE=website

Here MAGE_RUN_TYPE can be store or website value

MAGE_RUN_CODE should be the unique code that you have saved while creating new store website in mange store.

All done, Assign products to website your new store with different domain is ready in use

View original post 1 more word

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s