Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 1 of 2
Multiple Stores
 
tman_f
Sr. Member
 
Total Posts:  82
Joined:  2008-02-12
 

Hi all,

I am really excited about the multiple store capability as laid out in v 0.8. I have been trying to mess around with adding multiple stores and creating separate views. I have been successful in creating new stores, unfortunately, I cant figure out how to access them from the front end.

For example, if I create a second store titled: SecondStore with a view titled: DefaultView. How can I access this store from the front end?

Thanks guys.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Flowstack
Sr. Member
 
Total Posts:  130
Joined:  2008-01-30
London, United Kingdom
 

Hehe. I need the answer to this as well. Can’t figure it out!

I bet it’s something really simple as well smile.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Flowstack
Sr. Member
 
Total Posts:  130
Joined:  2008-01-30
London, United Kingdom
 

OK I worked it out.

1. Goto ‘System -> Configuration’.
2. In the ‘Current Configuration Scope’ drop-down select your new store.
3. Select ‘Web’ and change the base URL to the one you want.

You then have to change Mage:run(’base’) in the index.php file to the store code of your new store.

To get to your new store you enter the URL specified in step 3 above.

Sorry I can’t explain this in more detail. I’m only just learning it. You will have to have a play for yourself to see how it works as your setup is different to mine.

 
Magento Community Magento Community
Magento Community
Magento Community
 
AAAGROUP
Jr. Member
 
Total Posts:  4
Joined:  2008-03-13
 

Hello.
It possible to charge a fee to the stores and take the area to join new stores and customers, to set shopping mall, multivendor ....best regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
AAAGROUP
Jr. Member
 
Total Posts:  4
Joined:  2008-03-13
 

Hello.
1-It is possible to add fields and product qualities with the same mass, putting at the same time all the new products and items? , Instead of one at a time you can put todos.2- put at the same time all translations?, 3-it is possible to have different customs template for each store-client? best regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
Adam Shuy
Member
 
Avatar
Total Posts:  44
Joined:  2008-02-20
 

I tried to put the Chinese locale to the front end. What data should I fill in for the Code item of “New Store View” in the System->Manage Stores->Create Store View?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Flowstack
Sr. Member
 
Total Posts:  130
Joined:  2008-01-30
London, United Kingdom
 

If you are creating a new Store View then you can enter anything you want for the code name.

 
Magento Community Magento Community
Magento Community
Magento Community
 
AAAGROUP
Jr. Member
 
Total Posts:  4
Joined:  2008-03-13
 

Hello.
It possible to charge a fee to the stores and take the area to join new stores and customers, to set shopping mall, multivendor ? ....best regards

Hello.
1-It is possible to add fields and product qualities with the same mass, putting at the same time all the new products and items? , Instead of one at a time you can put todos.2- put at the same time all translations?, 3-it is possible to have different customs template for each store-client? best regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  643
Joined:  2008-03-21
Aviano ~ Italy
 
Flowstack - 19 March 2008 03:11 AM

OK I worked it out.

1. Goto ‘System -> Configuration’.
2. In the ‘Current Configuration Scope’ drop-down select your new store.
3. Select ‘Web’ and change the base URL to the one you want.

You then have to change Mage:run(’base’) in the index.php file to the store code of your new store.

To get to your new store you enter the URL specified in step 3 above.

Sorry I can’t explain this in more detail. I’m only just learning it. You will have to have a play for yourself to see how it works as your setup is different to mine.

Hello
I’ve do that…

create a second website with store and storeview
create a folder into magento root directory named secondstore that is the code of this store
put into index.php with the right code, put a copy of htaccess
changed the base url in store profile…

but If I go to wwww.mysite.com/magento/secondstore/

I have a blank page :-O

any helps?

Maybe this instructions are not good if the store is not under the same wbsite?

Thanks

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shops
http://www.ecobaby.it
http://www.pesicampione.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
seDev
Member
 
Total Posts:  47
Joined:  2008-01-22
 

This video cleared up some details for me:
http://www.magentocommerce.com/blog/comments/video-creating-multiple-online-storefronts-part1/

Good luck,

Séamus

 
Magento Community Magento Community
Magento Community
Magento Community
 
Adam Shuy
Member
 
Avatar
Total Posts:  44
Joined:  2008-02-20
 
seDev - 21 March 2008 08:06 AM

This video cleared up some details for me:
http://www.magentocommerce.com/blog/comments/video-creating-multiple-online-storefronts-part1/

Good luck,

Séamus

Supposed I want to add Chinese store view to the front end with the Chinese locale downloaded from Community Translation blog, What should I do?
The part1 video did not show how to do with the additional Chinese locale in the app/locale folder?

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  643
Joined:  2008-03-21
Aviano ~ Italy
 
seDev - 21 March 2008 08:06 AM

This video cleared up some details for me:
http://www.magentocommerce.com/blog/comments/video-creating-multiple-online-storefronts-part1/

Good luck,

Séamus

Hello, thank You so much! this guide is great!

Now I have my mainstore and the secondstore (I’ve seen that old settings was quite right, the mistake was on bad link to mage.php ../folder and not /folder)

only one question… the second store doesn’t have the css loaded
http://www.babypull.it/public/shop/ecobaby/index.php

I have no idea why! ;-(

Thanks

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shops
http://www.ecobaby.it
http://www.pesicampione.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  643
Joined:  2008-03-21
Aviano ~ Italy
 

Ok now works great! :-D
http://www.babypull.it/public/shop/ecobaby

I don’t know why but the unsercure_link ... doesn’t work… with absolute link YESSS

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shops
http://www.ecobaby.it
http://www.pesicampione.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
agcilantro
Jr. Member
 
Total Posts:  12
Joined:  2008-02-29
 

I have followed the instructions in the first tutorial video on multiple sites / stores.  I used the same directory structure as in the video, i.e. mainstore/shoestore inside my magento directory, which is located at http://www.xxxxxxx.com/magento/mainstore/shoestore/.  As in the video, I changed the mage path to:

require_once '../app/Mage.php';

Mage::run('shoestore''website');

When I tried to open the resultant page at http://www.xxxxxxxx.com/magento/mainstore/shoestore/ i get the following two lines:

Warning: require_once(../app/Mage.php[function.require-once]failed to open streamNo such file or directory in /homepages/33/d213557129/htdocs/magento/mainstore/shoestore/index.php on line 26

Fatal error
: require_once() [function.require]Failed opening required '../app/Mage.php' (include_path='.:/usr/lib/php5'in /homepages/33/d213557129/htdocs/magento/mainstore/shoestore/index.php on line 26

Any help would be appreciated, I’m sure this is a simple path error on my part.

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  643
Joined:  2008-03-21
Aviano ~ Italy
 
agcilantro - 21 March 2008 09:07 PM

I have followed the instructions in the first tutorial video on multiple sites / stores.  I used the same directory structure as in the video, i.e. mainstore/shoestore inside my magento directory, which is located at http://www.xxxxxxx.com/magento/mainstore/shoestore/.  As in the video, I changed the mage path to:


require_once '../app/Mage.php';

Mage::run('shoestore''website');

When I tried to open the resultant page at http://www.xxxxxxxx.com/magento/mainstore/shoestore/ i get the following two lines:


Warning: require_once(../app/Mage.php[function.require-once]failed to open streamNo such file or directory in /homepages/33/d213557129/htdocs/magento/mainstore/shoestore/index.php on line 26

Fatal error
: require_once() [function.require]Failed opening required '../app/Mage.php' (include_path='.:/usr/lib/php5'in /homepages/33/d213557129/htdocs/magento/mainstore/shoestore/index.php on line 26

Any help would be appreciated, I’m sure this is a simple path error on my part.

Thanks!

Hello wink
are you sure that the base url in tab WEB under CONFIGURATION -> STORE are correct?
after create the subfolders (your settings are ok) you must to go to

BACKEND -> CONFIGURATION -> SELECT THE WEBSITE (NOT THE STORE) from the dropdown menu on the top-left
after press to WEB

you must set under the UNSICURE LINKS the right link to your subfolder
I used an absolute link like
http://80.170.80.123/magento/secondwebsite/ (remember slash to the end of the link)

put 2 times this link on the first 2 fields

and in the fields below set the right link (better for me absolute link) to all system folders
like
http://80.170.80.123/magento/skin/
http://80.170.80.123/magento/media/
etc

remember that you must create before a root categories 1 for every website
and select after manage store this root folder like ROOT category folder x websites

it is very simple wink if you have any trouble… maybe I can help you, also I know my english is very basic :-O

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shops
http://www.ecobaby.it
http://www.pesicampione.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
agcilantro
Jr. Member
 
Total Posts:  12
Joined:  2008-02-29
 

Thank you for your suggestions.
I made the changes to absolute paths in the urls.  But it looks like I am just using the same page as the default store.

See my site:  http://www.conviviumbrands.com/magento/shoestore

How do I get it to not have the same first page as the main store?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 1 of 2
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53272 users|851 users currently online|107369 forum posts