Zen Cart Logo
Forums / All Other Contributions/Addons / MultiSite Module Support Thread

MultiSite Module Support Thread

Views: 580,318

Results 1,401 to 1,420 of 2,247
24 Jan 2011, 12:15 AM
#1401
britneycook avatar

britneycook

New Zenner

Join Date:
Oct 2010
Posts:
53
Plugin Contributions:
0

MultiSite Module Support Thread

I appreciate the comment Noppie, im afraid i struggled to make sense of it.
Im assuming your making reference to the sideboxes governed by each template? (TOOLS - LAYOUT BOXES CONTROLLER)

I think my question was referring to the changes made to the default under
CONFIGURATION - INDEX LISTING

Show New Products on Main Page 3
Show Featured Products on Main Page 1
Show Special Products on Main Page 2
Show Upcoming Products on Main Page 4

which i didn't think had anything to do with the template. Could you Clarify perhaps?

noppie:

templates --templates, templates..

change it you the name of the template you want to change.to to tools.
select the template you want to change..
made sure the correct boxes are in the correct template.
the look and feel is driven by the template.

24 Jan 2011, 12:54 AM
#1402
britneycook avatar

britneycook

New Zenner

Join Date:
Oct 2010
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Just as a follow up on my previous Post.. I found this post from back in 2008 with the same problem but couldn't find any solution to that one either.

Anyone got any ideas with reference to the:
INDEX LISTING
Show New Products on Main Page 3
Show Featured Products on Main Page 1

MotoDelta:

As a followup, NONE of the settings for INDEX LISTING work from the config sites. Anyone with ideas?

24 Jan 2011, 6:27 AM
#1403
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: MultiSite Module Support Thread

britneycook:

Just as a follow up on my previous Post.. I found this post from back in 2008 with the same problem but couldn't find any solution to that one either.

Anyone got any ideas with reference to the:
INDEX LISTING
Show New Products on Main Page 3
Show Featured Products on Main Page 1

I think what my reasoning is that the 2, 3, 4, etc. site is template driven.. correct..
so what I was thinking if you could get the sidebox you want to be different from the other sites to be called from the template pages from that site. Lets say you have a sidebox called dogs when clicked it shows pictures of dogs and site 2 is pet supplies so you only want that box on site two.. you would load all side box info in the languages, modules, and templates files. and that side box would only show in site two..
so That is what I am trying to say.

now I have a question for you and anyone else.
I have two sites right now. and on site two I for the life of me can not get the categories to show up. I just can't seem to figure this out..
I read through this forum all day.. and done everything it said.
yes I have the <!--site1-site2--> with my site names..

as I was writing this I decided to try one more thing.
define('CATEGORIES_ROOT','1'); //root categories is 1 for this site
decided to change to
define('CATEGORIES_ROOT','0'); //root categories is 1 for this site
and from the change for 1 to 0 the categories showed up.. yes..
Sometimes you just got to write about it.

24 Jan 2011, 6:38 AM
#1404
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: MultiSite Module Support Thread

It is possible for this mod to test on sub-domain cuz rite now my domain a on same server but different ip address

24 Jan 2011, 6:40 AM
#1405
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: MultiSite Module Support Thread

noppie:

THIS IS A LLINK TO THE Manual
I have no idea why it wasn't added to the addon..
http://www.thisdomain.net/dev/
that is a real link.

and follow that closely.. step by step..
then
the question I have to ask is is your hosting linux base or windows.

if it is linux.. search this forum for how to setup a addon domain.
it is in this forum..
this whole thing took me a while to figure out but once I did it was well worth it.
if you have any question.. I will try to get back to help.

my hosting on hosting linux base. It is possible for this mod to test on sub-domain cuz rite now my domain a on same server but different ip address ?

25 Jan 2011, 1:44 AM
#1406
britneycook avatar

britneycook

New Zenner

Join Date:
Oct 2010
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

No i dont think so..

noppie:

I think what my reasoning is that the 2, 3, 4, etc. site is template driven.. correct..

I appreciate your effort Noopie, But as i suggested earlier, Im not asking about Sideboxes. Your right, Sideboxes are template driven, But were not talking about sideboxes, Im asking about content on the index feature & Specials, which i doubt could be template driven without a Mod.

noppie:

if you could get the sidebox you want to be different from the other sites to be called from the template pages from that site. Lets say you have a sidebox called dogs when clicked it shows pictures of dogs and site 2 is pet supplies so you only want that box on site two.. you would load all side box info in the languages, modules, and templates files. and that side box would only show in site two..
so That is what I am trying to say.

18 Feb 2011, 1:57 AM
#1407
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: MultiSite Module Support Thread

Hi all I installed this multisite module
site1: sneakerandjeans.com
site2: shop1.sneakerandjeans.com
But when I click any products or link on site2 it takes me back to site1?
I show all the products and catalog on both sites and I placed a test order on the site1 and there is no info for which site the order was placed from?
There is any way to print a different Invoice for each site with a site1 and site2 name? So that I can tell which site the order was placed on.
Also, is there any way to use separate payment options for each site so that the payments are kept separate depending on what site the order was placed on?
I need help with those 2 files how and where I need to add?
admin/orders.php (Allow the admin's to know where the order come from)
includes/classes/order.php (add the SITE_NAME to the order table)

18 Feb 2011, 4:18 AM
#1408
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: MultiSite Module Support Thread

one more thing which way i have to add domain to my cpanel Addon Domains or Parked Domain? do i have install 2 Root Directory for each domain or just a one :unsure:

18 Feb 2011, 8:56 AM
#1409
macbain avatar

macbain

New Zenner

Join Date:
Feb 2011
Posts:
63
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi

I have inherited three sites that have been done on a multi site platform, they are all reading from one zen cart admin but have individual ftp's.

what i need to know is, is it possible to change the category listings for one of the sites without changing it on all three ? :frusty:

the sites are :
happiechappie.com
gaysexstores.com
happieladies.com

please be aware these are adult sites

as you can see two sites are for men and one is for ladies but they all have the same category names :(

any help would be really appreciated

Marie

28 Feb 2011, 3:27 AM
#1410
jrf avatar

jrf

New Zenner

Join Date:
Jan 2007
Posts:
35
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I'm looking for a multi-vendor cart mall solution that allows store owners to have not only their own admin, but also their own payment and shipping system - for about 40 or so small 'stores' under one 'roof' - for those familiar w/the zencart multisite - could it handle this many stores - is there a limit? - and does it offer the multi payments?

thank you

Jackie

28 Feb 2011, 8:04 AM
#1411
gtgderek avatar

gtgderek

New Zenner

Join Date:
Mar 2009
Posts:
36
Plugin Contributions:
0

Re: MultiSite Module Support Thread

There is not a limit to amount of stores the multisite module will allow you to use.

You can also set each store to have their own shipping and payment modules. Depending on the payment modules you may need a Wild card SSL certificate, so customers can process payments right on the website and have information secured.

You can do it with a shared ssl, but it gets a bit tricky.

You can't however give everyone their own individual admin area. The admin areas for each multisite website are connected together.

Hope this helps to answer your questions.

20 Mar 2011, 11:11 AM
#1412
britneycook avatar

britneycook

New Zenner

Join Date:
Oct 2010
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi Zenners.. :frusty:
Apologies if this is a repeat post.. this is such a HUGE topic..

Have been running the Multisite successfully for a while now, loving it.. I recently introduced a new product range however and have products separated between different sites.
So in short:
SITE 1 - sells products a,b,c,d
SITE 2 - Sells Products E,F,G,H
SITE 3 - Sells Products Z,X,C,V

No products from site 1 show on site 3. Works GREAT! HOWEVER, the specials for all the sites seem to be linked somehow and there doesnt seem to be a differentiation/separation in specials between each of the sites.

For instance when i click on the specials tab (at the bottom of the category tab), it shows me ALL the specials from ALL the site not just for SITE 1. Has anyone managed to come up with a solution for this.

Or does anyone know where i might find the file that controls these specials.. Im assuming it would simply need the addition of the config_sites function somewhere... but where?

Thanks in advance.
Brit :blink:

20 Mar 2011, 12:06 PM
#1413
britneycook avatar

britneycook

New Zenner

Join Date:
Oct 2010
Posts:
53
Plugin Contributions:
0

Re: MultiSite Module Support Thread

OkiDoki

Ive managed to fond the file:
tpl_specials_default.php (in the template file) when i delete the template version of the file it works DANDY-SUPER,

But for those who wish to keep the template version of this file, the for visual appearances etc..etc.. you will need to edit the following bit of code:

$specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS);
Replace by:
$specials_split = new splitPageResults(cat_filter($specials_query_raw), MAX_DISPLAY_SPECIAL_PRODUCTS);

britneycook:

Hi Zenners.. :frusty:
Apologies if this is a repeat post.. this is such a HUGE topic..

Have been running the Multisite successfully for a while now, loving it.. I recently introduced a new product range however and have products separated between different sites.
So in short:
SITE 1 - sells products a,b,c,d
SITE 2 - Sells Products E,F,G,H
SITE 3 - Sells Products Z,X,C,V

No products from site 1 show on site 3. Works GREAT! HOWEVER, the specials for all the sites seem to be linked somehow and there doesnt seem to be a differentiation/separation in specials between each of the sites.

For instance when i click on the specials tab (at the bottom of the category tab), it shows me ALL the specials from ALL the site not just for SITE 1. Has anyone managed to come up with a solution for this.

Or does anyone know where i might find the file that controls these specials.. Im assuming it would simply need the addition of the config_sites function somewhere... but where?

Thanks in advance.
Brit :blink:

25 Mar 2011, 9:33 AM
#1414
bazfr avatar

bazfr

New Zenner

Join Date:
Sep 2007
Posts:
43
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hello everyone,

I'm interested in using the MultiSite Module.
Basically, i want to have two sites running from the same database.

My 2 sites will graphically look almost the same, maybe i'll have some small differences; with promos, banners etc...

However, i want to have one major difference between both sites:

  1. First one will be a normal e-commerce site for large public.

  2. For the second one, i want it to be private and reserved for professionals only. Here i would like to have a same products as the first website, but i don't want to show any prices!

Why, because i want the professional users on the second site to be able to use the shopping cart functions, but instead of ordering and paying for the selected products, i want them to ask the Shop owner for a quote instead.
Basically what i am saying is - i want a catalogue, but i want to keep the shopping cart without prices, tax, coupons etc...

Please let me know if this is possible with MultiSite and zencart?

Best regards,
baz°:unsure:

29 Mar 2011, 6:45 PM
#1415
out2lunch avatar

out2lunch

New Zenner

Join Date:
Jul 2008
Posts:
64
Plugin Contributions:
0

Re: MultiSite Module Support Thread

bazfr:

Hello everyone,

I'm interested in using the MultiSite Module.
Basically, i want to have two sites running from the same database.

My 2 sites will graphically look almost the same, maybe i'll have some small differences; with promos, banners etc...

However, i want to have one major difference between both sites:

  1. First one will be a normal e-commerce site for large public.

  2. For the second one, i want it to be private and reserved for professionals only. Here i would like to have a same products as the first website, but i don't want to show any prices!

Why, because i want the professional users on the second site to be able to use the shopping cart functions, but instead of ordering and paying for the selected products, i want them to ask the Shop owner for a quote instead.
Basically what i am saying is - i want a catalogue, but i want to keep the shopping cart without prices, tax, coupons etc...

Please let me know if this is possible with MultiSite and zencart?

Best regards,
baz°:unsure:

Yes this is possible, I run multisite and although its very good, it does have some flaws like not being updated in 2 years, when adding the custom code to the back end you will not be able to edit some of the newer pages with the latest version, but form what I can see the ones I couldn't edit, the sites still run well.

Remember you need to be able to have 2 domain names piping into the same webspace, a lot of hosts dont like you doing this.

f thats the case the only way around this is to use subdomains, ie https://www.mysite.com for the customer site, and something like private.mysite.com as the business site.

Due to the seperate domains we actually run our multisites on seperate webspaces but they share the same db etc, and this works ok, as long as you do not want cross cart shopping (then it gets tricky, but still doable).

2 Apr 2011, 3:29 PM
#1416
metoo avatar

metoo

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: MultiSite Module Support Thread

This is my first attempt at installing multisite. I'm a little confused. I have everything set up correctly based on reading through this long thread. I have the config files right (I think!). At least they are all there and the switch code is added to the config file. I'm using 2 subdomains and the cart is installed on a third (the root) domain as http://maindomain.com/shoppingcart
**
config file 1 is called store.swamppuppy.com_config.php**<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "swamppuppy"; define('SITE_NAME','swamppuppy'); define('STORE_OWNER_EMAIL_ADDRESS','[email protected]'); define('CATEGORIES_ROOT','1'); //root categories is 1 for this site ?>
**
config file 2 is called store.beautiful-glass.com_config.php**<?php define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); $template_dir = "beautiful-glass"; define('SITE_NAME','beautiful-glass'); define('CATEGORIES_ROOT','2'); //root categories is 1 for this site ?>

**The relevant parts of the configuration file says:**include_once('includes/config_sites/sites_switch.php');
define('HTTP_SERVER', 'localhost');
define('HTTPS_SERVER', 'localhost');
define('ENABLE_SSL', 'true');
('DIR_WS_CATALOG', 'home/maindomain/shoppingcart/');
define('DIR_WS_HTTPS_CATALOG', 'home/maindomain/shoppingcart/');

the templates are called swamppuppy and beautiful-glass (could the hyphen cause me problems? How do I get around that when that is the domain?)

The error I'm getting is:

1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'
in:
[select cd.categories_name from categories c, categories_description cd where cd.categories_description LIKE '%-SITE_NAME-%' AND cd.language_id=1 AND c.parent_id = CATEGORIES_ROOT and c.categories_id = cd.categories_id and cd.language_id='1' and c.categories_status=1]

I have categories defined - one for swamppuppy and one for beautiful glass with one test product in each. This is a new Zencart install with nothing other than multisite.

What am I missing? I am pulling my hair out! Thanks for any insight...

5 Apr 2011, 8:41 PM
#1417
swilliams88 avatar

swilliams88

New Zenner

Join Date:
Apr 2010
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have read this entire thread and have numerous mentions of the problem I have but no detailed explanation on how to correct the issue.

I did read someone that more details have to go into the domainname_config.php files but no further information.

I do not see my site products or template when I go to the site. I look at the source and it's calling the template_default template and not the templates I specify in the config files. Am I missing something?

5 Apr 2011, 9:51 PM
#1418
metoo avatar

metoo

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: MultiSite Module Support Thread

It appears there is a regular progression of events with this module. First you have the domain not found error (which I got & fixed), then the 1054unknown column categories root error (which I solved - will explain in a moment) and now I have the template not showing up and links not working error. I wish someone would give better instructions as it seems there are so many of us stumbling in the dark and having the same problems over and over!

As for fixing this - it WAS the missing line from the configuration file. What happened in my case is FTP would say it uploaded the file (and the permissions were 777 so it SHOULD have overwritten the old one) but it never did. The way I found out was to download the file on the server and that's how I discovered the fixed file was never uploaded. I had to delete the server one and reupload it with the missing line - or it wouldn't overwrite it. Very strange. So the various parts of this looooong thread are correct in that you need to add

*include_once('includes/config_sites/sites_switch.php'); *

on the first line (after <?php) in the configuration file.

I am now trying to figure out the template not working problem. It's showing the correct info for each site, but it's like there's no style sheet and the links don't work. I saw this mentioned elsewhere but because the thread is so long, am having trouble finding it. If anyone knows the solution or where it is, I would appreciate the link to that part of the thread.

6 Apr 2011, 12:15 PM
#1419
swilliams88 avatar

swilliams88

New Zenner

Join Date:
Apr 2010
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

metoo:

It appears there is a regular progression of events with this module. First you have the domain not found error (which I got & fixed), then the 1054unknown column categories root error (which I solved - will explain in a moment) and now I have the template not showing up and links not working error. I wish someone would give better instructions as it seems there are so many of us stumbling in the dark and having the same problems over and over!

Yes, I had the exact same progression of errors and it appears that we are in the same place now: Template issues. Mine is calling the template_default files rather than my designated templates.

If I figure it out, I'll post the fix -- please do the same. That way maybe we can help others out that are having this issue as from the various posts on the subject we aren't the only ones.

6 Apr 2011, 2:22 PM
#1420
swilliams88 avatar

swilliams88

New Zenner

Join Date:
Apr 2010
Posts:
39
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Could this issue have to do with the SSL?

A little background:

I am implementing Multisite on a test environment (a remote staging server rather than a local install). I have Zen Cart installed into a directory (ex. https://www.domain.com/shop) with the two subdomains (shop.domain.com and catalog.domain.com) pointed to the Zen Cart installed directory.

I have matched up the
define('HTTP_SERVER', 'http://www.domain.com');
define('HTTPS_SERVER', 'https://www.domain.com');
exactly how it is in the includes/config.php file but the SSL we will be using is really for our live site and not the testing server.

Can I comment out the define('HTTPS_SERVER' and define('DIR_WS_HTTPS_CATLOG' to make it work or does anyone have any other solutions?