Jump to content
hobbzilla

Multi-Stores Multiple Shops Support

Recommended Posts

Hi All:

 

I want to have one database and having several domains (websites) with different products to be displayed for different stores.

 

I used the contrib Multi-Stores v2.0: http://www.oscommerce.com/community/contributions,1730

 

the installation took some work but things somehow are installed correctly:

I have my default and second store up.

 

 

 

what I dont understand was the configuration file? how do i make the second store read the second config file? Do i need to modify something in the database?

 

here what i have: after installing the multistore v2.0, i copy the full folder multistore to multistore2 and changed the path for in the config file for the store#2; same for picture and languages.

 

default store folder: /multistore/includes/config.php

second store folder: /multistore2/includes/config.php

 

store 1:

 

define('HTTP_SERVER', 'http://www.mydomain.com');

define('HTTPS_SERVER', 'http://www.mydomain.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTP_COOKIE_PATH', '/multistore/');

define('HTTPS_COOKIE_PATH', '/multistore/');

define('DIR_WS_HTTP_CATALOG', '/multistore/');

define('DIR_WS_HTTPS_CATALOG', '/multistore/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/users/public_html/multistore/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

Store 2:

 

define('HTTP_SERVER', 'http://www.mydomain.com');

define('HTTPS_SERVER', 'http://www.mydomain.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTP_COOKIE_PATH', '/multistore2/');

define('HTTPS_COOKIE_PATH', '/multistore2/');

define('DIR_WS_HTTP_CATALOG', '/multistore2/');

define('DIR_WS_HTTPS_CATALOG', '/multistore2/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/users/public_html/multistore2/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

Please help.

Share this post


Link to post
Share on other sites
Hi All:

 

I want to have one database and having several domains (websites) with different products to be displayed for different stores.

 

I used the contrib Multi-Stores v2.0: http://www.oscommerce.com/community/contributions,1730

 

the installation took some work but things somehow are installed correctly:

I have my default and second store up.

 

 

 

what I dont understand was the configuration file? how do i make the second store read the second config file? Do i need to modify something in the database?

 

here what i have: after installing the multistore v2.0, i copy the full folder multistore to multistore2 and changed the path for in the config file for the store#2; same for picture and languages.

 

default store folder: /multistore/includes/config.php

second store folder: /multistore2/includes/config.php

 

store 1:

 

define('HTTP_SERVER', 'http://www.mydomain.com');

define('HTTPS_SERVER', 'http://www.mydomain.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTP_COOKIE_PATH', '/multistore/');

define('HTTPS_COOKIE_PATH', '/multistore/');

define('DIR_WS_HTTP_CATALOG', '/multistore/');

define('DIR_WS_HTTPS_CATALOG', '/multistore/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/users/public_html/multistore/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

Store 2:

 

define('HTTP_SERVER', 'http://www.mydomain.com');

define('HTTPS_SERVER', 'http://www.mydomain.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTP_COOKIE_PATH', '/multistore2/');

define('HTTPS_COOKIE_PATH', '/multistore2/');

define('DIR_WS_HTTP_CATALOG', '/multistore2/');

define('DIR_WS_HTTPS_CATALOG', '/multistore2/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/users/public_html/multistore2/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

Please help.

 

 

 

I figured out how to setup the config files. However, I still have an issue with category not showing up:

 

store 1: category 1, 2

store 2: category 1, 2 and 3

 

the category 3 did not appear for the store 2. I have to enable for both stores in order to appeared on store2 .

What do i miss?

 

your help is appreciated. <_< <_<

 

thanks

Share this post


Link to post
Share on other sites
I figured out how to setup the config files. However, I still have an issue with category not showing up:

 

store 1: category 1, 2

store 2: category 1, 2 and 3

 

the category 3 did not appear for the store 2. I have to enable for both stores in order to appeared on store2 .

What do i miss?

 

your help is appreciated. <_< <_<

 

thanks

 

 

 

Hi all:

 

I need your help: what would be the php/mysql command to allow query category and/ or products for a specific store? I plan to add the following contributions: "Separate Pricing Per Customer" : http://addons.oscommerce.com/info/716 and "Quick Price Updates for SPPC" http://addons.oscommerce.com/info/3798, and "Main categories in front page" http://addons.oscommerce.com/info/2125.

 

I installed the Main categories in front page but it showed up all categories not the specifics categories for the specific store.

 

 

thank you for any hints on where to find. :rolleyes: :lol:

 

 

regards,

 

L

Share this post


Link to post
Share on other sites

hi,

 

I do not know if this contrib is the right for my wish/problem:

I want to have one database with all my products and brands.

Now I want to have a second store which only has one favorite brand but the categories are all the same.

Can I do this with this contrib?

I also want, that the customers can login one shop and after that they are already logged in the second store. so they do not

type in there data again.

is that possible too?

 

thanks and regards

Muecke

Share this post


Link to post
Share on other sites

Is it possible with Multi-Sotres contribution to have for example 3 shop with the same products but different quantity for each shop?

Share this post


Link to post
Share on other sites
Hi All,

 

Has anyone used any Inventory Control and POS (point of Sale) package which works with multistores? Need not be an oscommerce contribution but something which will support oscommerce and Multistore especially.

 

Please let me know

Thanks

 

You can integrate your OSCommerce with either www.turbocash.net or www.osfinancials.org. The OS Financials has the advantage to also integrate with vTiger.

 

Both work with the multistore contribution. I still would like to work on getting the specific website each order comes from to allocate automatically to the "Salesperson" field.

Share this post


Link to post
Share on other sites
Is it possible with Multi-Sotres contribution to have for example 3 shop with the same products but different quantity for each shop?

No unless You modify the code.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites
Is it possible with Multi-Sotres contribution to have for example 3 shop with the same products but different quantity for each shop?

 

I would have thought it be easiest just to create 3 different lines with the same descriptions for each shop. That way you can have different prices for each shop to. They will still be administered in the central admin area.

 

I would like different pricing for the same products in different shops. From what I remember having read a while back, this means changing a lot of code.

Share this post


Link to post
Share on other sites

If You create seperate products description table and change the defines for those in data base tables then to it will work.

 

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites
I would have thought it be easiest just to create 3 different lines with the same descriptions for each shop. That way you can have different prices for each shop to. They will still be administered in the central admin area.

 

I would like different pricing for the same products in different shops. From what I remember having read a while back, this means changing a lot of code.

Thanks for the replies!

Please tell me what exactly I have to edit - database, php files? :rolleyes:

Share this post


Link to post
Share on other sites

add tables.

Modify define tables related php file

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

Why not simply copy and create three products and then keep the inventory managed for each. You should change the descriptions which would allow you to keep the SEO aspect (no duplicate content). Inventory is not managed well in osCommerce and needs work in several areas.

 

cheers,

Peter


Peter McGrath

-----------------------------

See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation

Share this post


Link to post
Share on other sites

Wondering if anyone has any ideas, I cannot seem to get this thing going. I have installed 3 times, added the SQL fix posted by Kimmy, checked that the php.ini file is set to 4, PHP version is 5.2.5, MySQL version is 4.1.22-standard, but I'm still getting the 1054 error if I try to login with the default admin login, and a loop if I try to access it with the admin/admin login.

 

Any ideas?

 

Thanks,

Violet

Share this post


Link to post
Share on other sites

Hi there

 

I wonder if you can help me? I've got the multi stores contrib working great apart from one thing - all the orders that are placed are being assigned to the default store even if they are placed in other stores. I'm not sure if this might be to do with using Paypal for payment gateway?? Any ideas on this would be greatly appreciated.

 

Many thanks

 

Mike

Share this post


Link to post
Share on other sites

hi hobzilla and all,

 

xcuse my bad english.

ok 1st thing 1st, i am 2 months newbies of linux and oscommerce, so this maybe silly question but please help me.

i need to know the answer as soon as possible so that i can proceed on what my boss asked me to do.

 

1- i have fresh installation of oscommerce v2.2, and then i add the multi-store contrib.

everything work fine (xcept minor error like img etc)

the probe is, now i want to have multiple admin, which means i can have head admin, and sub admin for each stores

i have. is it POSSIBLE to do it after install multi-stores contrib?

 

2- do i have to install multi-admin-wif-levels?

 

3- if YES, can u give me the guide (step-by-step) on how to install multi admin on multi-stores oscommerce?

pleaseeeeeeeeee...i have read the readme.txt, but it makes me kuch more confused! i search around the forum,

but doesnt seem anyone face the same probe as me.

 

4- if NO, can u tell me the alternative steps?

 

HEEELLLPPPP... :(

any help, berrymuch thanks in advance :blush:

Share this post


Link to post
Share on other sites

probably Your payment module not modified to handle this.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

Hi there,

 

I have a question someone might be able to help with:

 

Is it possible to install this and omit the parts relating to Admin Access With Levels and Quantity Based, Customer Groups & Store Based pricing? Or are they so integral to the contribution that it would be unfeasable?

 

The reason being I don't need that functionality and would therefore like to skip the parts relating to those parts

 

Thanks

 

Dave

Share this post


Link to post
Share on other sites

satish,

i think there has nothing to do with the payment module.

because, it is all work properly.

pls help mee..

what should i do if i want to install multi admin on multi stores oscommerce... :(

Share this post


Link to post
Share on other sites

Hello there,

 

Does this contribution allow to control inventory of a product that is sold in different stores?

 

Example: If I have 10 items of Product A and I sell 1 in Store1 and 2 in Store2, then the stock report should show 7 in stock for that product. Is this one of the things this contribution can do?

If so, will both stores show to the user "7 in stock" in the attributes menu?

 

Thanks

Share this post


Link to post
Share on other sites

Out of curiosity, has anyone been able to successfully get this contribution working with RC1? I have an existing, heavily-modded RC1 store and now would like to deploy a second store and utilize this modification, but even on a fresh install of RC1 I've encountered numerous errors in doing so. Thanks.

Share this post


Link to post
Share on other sites

^ Nevermind, I see all that was required was to delete the administrators table and then everything seemed to work fine. Gonna test it out in the next week or two, seems very good.

Share this post


Link to post
Share on other sites

i've installed multi-store_v2.0 over a fresh and clean oscommerce-2.2rc2a and it seems it works good after some configuration settings.

 

BUT:

 

if i go on shop2 and click on TOP in the navbar it goes back to shop1, by click on the storelogo it stays in shop2.....?

Share this post


Link to post
Share on other sites

chek the breadcrumb generation code.

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

hi satish,

this is what is in header nave on shop2

 

	<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>

 

i never unstood what breadcrumb is - not the word but the meaning of this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×