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

MultiSite Module Support Thread

Views: 580,310

Results 1,501 to 1,520 of 2,247
6 Oct 2011, 8:04 PM
#1501
sandihudson avatar

sandihudson

New Zenner

Join Date:
Apr 2011
Posts:
20
Plugin Contributions:
0

MultiSite Module Support Thread

Here's how the products are currently set up in the admin:

Type 1
Manufacturer 1
Product 1
Product 2
Product 3
Manufacturer 2
Product 1
Product 2
Product 3
Manufacturer 3
Product 1
Product 2
Product 3
Type 2
Manufacturer 1
Product 1
Product 2
Product 3
Manufacturer 2
Product 1
Product 2
Product 3
Manufacturer 3
Product 1
Product 2
Product 3

That's all pretty straightforward. All the categories and products show up on all the sites - that's the intent.

The issue is that for the Featured Products, if I select 5 products to be featured, they show up on all the sites. That's my understanding of how Multisite is supposed to work. However, each site needs to have different featured products.

I tried setting up the categories like this:

Store 1
Type 1
Manufacturer 1
Product 1
Product 2
Product 3
Manufacturer 2
Product 1
Product 2
Product 3
Manufacturer 3
Product 1
Product 2
Product 3

Store 2
Type 1
Manufacturer 1
Product 1
Product 2
Product 3
Manufacturer 2
Product 1
Product 2
Product 3
Manufacturer 3
Product 1
Product 2
Product 3

What happens is that "Store 1" and "Store 2" now show up in the category list in the sidebox on every site, even if I set the relations to show on only one site. Not good.

No matter how I arrange and rearrange the categories and subcategories they all still show on all the sites.

I'm missing something :) Can you explain it in very small words so I can understand? LOL

7 Oct 2011, 8:44 AM
#1502
alex001bbb avatar

alex001bbb

New Zenner

Join Date:
Nov 2009
Posts:
4
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,
I'm very interested in this module but I've not found any installation instructions... In the readme.txt it says:
Latest Instruction here:

http://www.medea.co.uk/dev/multisite_instructions_4.0.html

But the adress is empty... I'm a dumb with programing but i'm quite good following instructions, any help would be very apreciated! :unsure:

7 Oct 2011, 7:50 PM
#1503
noppie avatar

noppie

Zen Follower

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

Re: MultiSite Module Support Thread

yes i now

below it the direction you need.
and here is the web to get them all
http://www.thisdomain.net/dev/

12 Oct 2011, 7:00 PM
#1504
danielesim avatar

danielesim

New Zenner

Join Date:
Nov 2010
Posts:
3
Plugin Contributions:
0

Re: MultiSite Module Support Thread

http://jewels-arezzo.it/
This is a Multisite Project.On the index page, on the right, there is a simple menu for more independent shops running separate Data bases.Each shop has its own Database.If this simple solution can be useful to somebody it is very simple to realize it.

16 Oct 2011, 12:40 AM
#1505
noppie avatar

noppie

Zen Follower

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

Re: MultiSite Module Support Thread

if it has it separate database.. then is there separate admins?

is this different from the mulit site script here already?

thanks

danielesim:

http://jewels-arezzo.it/
This is a Multisite Project.On the index page, on the right, there is a simple menu for more independent shops running separate Data bases.Each shop has its own Database.If this simple solution can be useful to somebody it is very simple to realize it.

14 Dec 2011, 3:10 PM
#1506
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

Design75:

zencart 1.39f with COWOA

I am trying to install, but during merging I come up with the following.

in the file includes/classes/order.php there is this line

if ($_SESSION['COWOA']) $sql_data_array[COWOA_order] = 1;

> 
> which should be replaced by
> 
> ```
//Multisite Module - Add the order_site in the order table
$sql_data_array['order_site']=ORDER_SITE;
//eof Multisite Module

But if I do that i am afraid it will ruin COWOA.

Please advise on how to proceed

Sorry for bumping my question after more then a year :cry:, but i still don't know how to solve this.
There must be some people out there using both FEC and multi site.

28 Dec 2011, 3:13 PM
#1507
explorer1979 avatar

explorer1979

Inactive

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

Re: MultiSite Module Support Thread

Hi all,

I want to ask do MultiSite Module support 1.3.9h?

THX

31 Dec 2011, 5:55 PM
#1508
gazag avatar

gazag

Zen Follower

Join Date:
Jun 2011
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

has anyone tried/updated this module with the new version of Zencart 1.5.0???

2 Jan 2012, 5:05 PM
#1509
mjhudson avatar

mjhudson

New Zenner

Join Date:
Apr 2011
Posts:
2
Plugin Contributions:
0

Re: MultiSite Module Support Thread

explorer1979:

Hi all,

I want to ask do MultiSite Module support 1.3.9h?

THX

Yes, I have it running on 1.3.9h

17 Jan 2012, 6:08 PM
#1510
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: MultiSite Module Support Thread

In the process of installing it in v1.50, seems to be working so far, I've yet to use it to the full.

21 Jan 2012, 9:20 PM
#1511
tracey avatar

tracey

New Zenner

Join Date:
Jan 2008
Location:
Switzerland
Posts:
38
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi,

First of all, I'd like to say thanks for putting together this add-on! It looks really great and is exactly what I've been looking for.

I am running Zen Cart V1.3.9h have installed all the files and completed all steps included in the instructions and just have one problem.

I have 2 sites set up with Templates so far. Site1 works fine, but Site2 is only working when I load the home page. When I click links on Site2, they point directly to my Site1 pages and load that site, instead of the Site2 URLs.

Is there something I've missed? How do I fix it so that all the links on Site2 point to Site2 URLs?

Thanks in advance!

21 Jan 2012, 9:29 PM
#1512
nwfap avatar

nwfap

New Zenner

Join Date:
Dec 2011
Posts:
20
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Tracy,

I agree this is a great add-on, I'm working on bundling this add on with the EZ pages Multi-Site mod + the additional code to show which store the orders come from. I'll try to help you out, but I'm still pretty new to things.

tracey:

I have 2 sites set up with Templates so far. Site1 works fine, but Site2 is only working when I load the home page. When I click links on Site2, they point directly to my Site1 pages and load that site, instead of the Site2 URLs.

Is there something I've missed? How do I fix it so that all the links on Site2 point to Site2 URLs?

Thanks in advance!

What types of links are you talking about? If you are referring to EZ pages, I recommend you install the EZ pages Multi-Site mod (http://www.gjbenterprises.com/uncategorized/multisite-module-ez-pages-add-on) it works great for controlling what EZ pages are displayed on which site.

22 Jan 2012, 1:47 PM
#1513
tracey avatar

tracey

New Zenner

Join Date:
Jan 2008
Location:
Switzerland
Posts:
38
Plugin Contributions:
0

Re: MultiSite Module Support Thread

NWFAP:

What types of links are you talking about? If you are referring to EZ pages, I recommend you install the EZ pages Multi-Site mod (http://www.gjbenterprises.com/uncategorized/multisite-module-ez-pages-add-on) it works great for controlling what EZ pages are displayed on which site.

Thanks for pointing out the EZ pages add-on, I'll definitely check this out!

I'm having problems with pretty much all links on the page: categories, information links, search and EZ pages etc. When I click on any link shown on Site2, it takes me to Site1 (with the Site1 template showing) and the URL shows Site1.com/..., not Site2.com/...

Do you know why this might be happening?

22 Jan 2012, 6:22 PM
#1514
tracey avatar

tracey

New Zenner

Join Date:
Jan 2008
Location:
Switzerland
Posts:
38
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I did a completely new ZC install and uploaded all MultiSite files again per the instructions and figured out why my webpages weren't loading correctly on Site2.

I had done the www.Site2.com_config.php file incorrectly. I have since corrected it to the following and it works fine:

<?php $template_dir = "Site2"; define('SITE_NAME','Site2'); define('HTTP_SERVER', 'http://www.site2.com'); define('HTTPS_SERVER', 'https://www.site2.com'); ?>

I also found that $template_dir and SITE_NAME have to both be exactly the same for it to display correctly.

I just have one other question which I couldn't find answered in the forum already: How can I get the order_site information to show in the admin panel, as opposed to viewing it through phpMyAdmin each time an order comes in?

22 Jan 2012, 11:21 PM
#1515
nwfap avatar

nwfap

New Zenner

Join Date:
Dec 2011
Posts:
20
Plugin Contributions:
0

Re: MultiSite Module Support Thread

tracey:

I did a completely new ZC install and uploaded all MultiSite files again per the instructions and figured out why my webpages weren't loading correctly on Site2.

I had done the www.Site2.com_config.php file incorrectly. I have since corrected it to the following and it works fine:

<?php $template_dir = "Site2"; define('SITE_NAME','Site2'); define('HTTP_SERVER', 'http://www.site2.com'); define('HTTPS_SERVER', 'https://www.site2.com'); ?>

I also found that $template_dir and SITE_NAME have to both be exactly the same for it to display correctly.

I just have one other question which I couldn't find answered in the forum already: How can I get the order_site information to show in the admin panel, as opposed to viewing it through phpMyAdmin each time an order comes in?
:flex:
Look at post #1351 by Robbie_79. We are using that solution and it seems to work for us on 1.3.9h.

23 Jan 2012, 12:11 AM
#1516
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: MultiSite Module Support Thread

simon1066:

In the process of installing it in v1.50, seems to be working so far, I've yet to use it to the full.

Hi simon

could you tell me if you have manged to get this workin and how you achieved this as i am currently trying to get this module working

Luke

23 Jan 2012, 10:10 AM
#1517
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi Luke,

Installation of many of my add-ons is achieved by 'blundering' about until it works, but I'll try and remember if I can.

So, this is installing multisite_0.4.2 on zen cart v1.50. Bear in mind that as multisite is not v1.50 complatible that it might not satisfy zen cart's security requirements so use at your own risk.

Start by following the instructions in 'multisiteinstructions.pdf' but be careful when you get to step 4. I would advise that you ignore the statement 'If this is a fresh Zen-Cart Install and no other modifications have been made then you can just copy these files over the top of the existing Zen-Cart files' as the modified files were not written for v1.50. Instead will need to supplement step 4 with the information in the 'install.txt' file to properly integrate multisite in the zen cart core files. (There was a formatting error in this file that caused some confusion - I can't remember where, hopefully you'll spot it)

As you proceed with this step I would advise that after each file edit you check to make sure your site still functions - don't worry if the layout/template looks screwy - this will sort itself out by the time you reach the end, it's really blank screens and error messages that will tell you that code has been entered incorrectly.

In step 4. don't forget to add SITE_NAME to the order table in your database.

Then move on to step 5 and the rest of the instructions.

Later on you will need to 'force' the registration of multisite in zen cart Admin. This relates to what I mentioned at the start re security, In that if multisite satisfied all of v1.50's requirements then you wouldn't need to fudge this step.

I am not using multisite to take orders so haven't been able to test that functionality

Hope this gives you a place to start, apologies if I'm teaching you to suck eggs.

good luck

Simon

23 Jan 2012, 1:09 PM
#1518
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Follow-on to my last post.

Whilst currently debugging an error with multisite I'll point out the errors I've found in 'install.txt':

FILE includes/classes/categories_tree.php

Line 61: should read Line 107:

FILE includes/templates/template_default/sideboxes/tpl_categories.php

Line 33: is a duplicate of Line 33: in ### FILE includes/modules/specials_index.php ### and is not required

26 Jan 2012, 10:05 PM
#1519
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: MultiSite Module Support Thread

simon1066:

Follow-on to my last post.

Whilst currently debugging an error with multisite I'll point out the errors I've found in 'install.txt':

FILE includes/classes/categories_tree.php

Line 61: should read Line 107:

FILE includes/templates/template_default/sideboxes/tpl_categories.php

Line 33: is a duplicate of Line 33: in ### FILE includes/modules/specials_index.php ### and is not required

cheers simon

thanks for telling me your progress i know that multi site works as i have use in in the pasted but as im working on a new project i would like to use it again on the new version thanks again.

3 Feb 2012, 6:01 PM
#1520
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Simon

Hows the project going

is there a possiablity you showing me some of the files you modfied.

Luke