Magento Resource | E-Commerce Generation Explorer

TAG | multiple

Subdirectory Method

This is the same scenario as above, except all of the shops will be in subdirectories, e.g.:

  • mall.com/shoes
  • mall.com/shirts

Here’s how we would set this up for the shoes subdirectory:

  1. Login to your site via SSH, and create a subdirectory where your second store will be:
    • cd public_html
    • mkdir shoes/
    • cd shoes/
  2. Copy the index.php and .htaccess file from the directory where Magento is installed, which would be in our root web directory:
    • cp ../public_html/index.php ../public_html/.htaccess .
  3. Open up the index.php file that we just copied over and replace the following line of code:
    1
    
    $mageFilename = 'app/Mage.php';

    …with the following:

    1
    
    $mageFilename = '../public_html/app/Mage.php';
  4. With the index.php file still open, replace the following line of code:

    …with the following:

    1
    
    Mage::run('shoes', 'website');

· · · ·

Adding Another Store In Magento

The first thing we need to do is setup our second store in Magento.

We’re going to do a hypothetical here for the naming conventions, and assume we own shirts.com. Adjust the values accordingly for your own store.

  1. Login to the Magento admin.
  2. Go to the Catalog tab, and select Manage Categories.
  3. Click on the Add Root Category button on the left.
  4. On the right, for the Name, we’ll enter Shoes.com. Set the dropdown to Yes for both Is Active and Is Anchor.
  5. Click the Save Category button.
  6. (more…)

· · ·

As I mentioned before, I am doing a multi-language and multi-currency website at that moment. So I found a lots information about how to setup the multiple store from internet. Here is a good one:

From crucialwebhost.com

———————————————————————————————————

There are numerous ways to setup multiple Magento stores that all share the same codebase and backend, but what method you use depends on your needs.

This article is written with cPanel in mind, though the methodologies listed below apply no matter what control panel you’re using.

There are numerous ways to setup multiple Magento stores that all share the same codebase and backend, but what method you use depends on your needs.
This article is written with cPanel in mind, though the methodologies listed below apply no matter what control panel you’re using.

(more…)

· · · ·

Theme Design by devolux.nh2.me