Magento Exclusive

28
Magento Exclusive: Running multiple Magento stores on multiple domains from a single index.php -By Younus Sardar tekSymmetry, LLC 18 th Jan,2010

description

Magento Exclusive:Running multiple Magento stores on multiple domains from a single index.php

Transcript of Magento Exclusive

Page 1: Magento Exclusive

Magento Exclusive: Running multiple Magento stores on multiple domains from a single index.php

-By

Younus Sardar

tekSymmetry, LLC

18th Jan,2010

Page 2: Magento Exclusive

What’s Magento ?

An open-source ecommerce web application.

Page 3: Magento Exclusive

Popular Open Source eCommerce Software

Magento Zen-Cart osCommerce X-Cart Avactis Batavi VirtuMart

Page 4: Magento Exclusive

Why Magento?

One install, multiple merchants, multiple websites, multiple shops!

Suitable for a small ecommerce site as well as an ecommerce network

About all popular payment methods are already integrated (total 11 methods).

Customized admin roll management

Page 5: Magento Exclusive

Multiple Images Per Product Product Image Zoom-in Capability Batch Import and Export of catalog Shipping to multiple addresses in one order or

multiple shipments per order One-Page Checkout

Page 6: Magento Exclusive

Advantage(Developing view)

A perfect MVC approach (using Zend framework)

Fully Object Oriented Platform Highly stable, very powerful, and extremely

expandable User friendly

Page 7: Magento Exclusive

Disadvantage(Developing view)

Due to the Zend/OOP/MVC influence on Magento. A huge folder structure and hundreds of files. It is difficult to follow the code

Database depends on EAV (Entity-Attribute-Value) model. SQL codes are difficult a little bit!

Most complex php application ever found!

Page 8: Magento Exclusive

A Scenario

Let’s imagine a merchant who deals with thousands of products.

He has 100 stores. He wants to sell his products over 10 different

websites.

Can we do these with just one Magento install ?

Page 9: Magento Exclusive

Multiple Magento stores on multiple domains from a single install.

Page 10: Magento Exclusive

Setting Up Multiple Websites

Step 1:  Creating a new folder in the main Magento installation

for second website, copying index.php and .htaccess, necessary change of code to index.php

Page 11: Magento Exclusive
Page 12: Magento Exclusive

Step2:

Create a new root category for second websiteAdmin-> Catalog-> Manage Categories -> Add Root Category

Page 13: Magento Exclusive

Step3:

1) Create new website2) Create store & point to new root category to that

store3) Create store view

1) Create new website

Admin -> System -> Manage Stores

Page 14: Magento Exclusive

Admin -> System -> Manage Stores -> Create Website

Page 15: Magento Exclusive

2) Create Store

Admin -> System -> Manage Stores -> Create Store

Page 16: Magento Exclusive

3) Create Store View

Admin -> System -> Manage Stores -> Create Store View

Page 17: Magento Exclusive

Step 4:

Configure URL structure for new websiteAdmin -> System -> Configuration

Page 18: Magento Exclusive

We are done for multiple websitesWebsite 1: Digital Store

URL: http://localhost/magentostore/index.php

Page 19: Magento Exclusive

Website 2: Shoe Store

URL: http://localhost/magentostore/shoestore/index.php

Page 20: Magento Exclusive

Step: 5

1) Add Categories

2) Add Products

1) Add Categories (Admin - > Catalog - > Manage Category)

Page 21: Magento Exclusive

2) Add Product (Admin - > Catalog - > Manage Product)

Page 22: Magento Exclusive

Select website for the product

Page 23: Magento Exclusive

Now we can have.. Website for Digital Store

Page 24: Magento Exclusive

Website for Shoe Store

Website for Shoe Store

Page 25: Magento Exclusive

Adding a new store to a website

Step1: Create a new store in Magento store manager and add

a root category for the store. Admin-> System-> Manage Stores -> Create New Store

Page 26: Magento Exclusive

Step2:

Add an additional store view to the new created store

Admin-> System-> Manage Stores -> Create New Store

Page 27: Magento Exclusive

Now we can see the store list in the footer (default). Customers can switch between stores.

Page 28: Magento Exclusive

Thank You! Questions ?