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

MultiSite Module Support Thread

Views: 580,200

Results 1,561 to 1,580 of 2,247
12 Jul 2012, 7:05 PM
#1561
lukeengland12 avatar

lukeengland12

New Zenner

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

MultiSite Module Support Thread

stefjuuh:

Is there anyone who has an updated version of this module, or a complete (clean) 1.5 installation with this multisite module installed?
Tried installing this module 3 times now, last 2 times with the instructions line-by-line, letter-by-letter, but chrome keeps bouncing me a server error.
Firefox is just lazy and shows a white screen. Source code shows nothing.
Working with OSX/MAMP at this point.

the only way i managed to get multisite working with 1.5 was using beyond compare n comparing each file n then uploading them step by step i didnt start writing new instructions but i made so many changes hope this helps if i can help you with anything let me know.

13 Jul 2012, 3:00 PM
#1562
stefjuuh avatar

stefjuuh

New Zenner

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

Re: MultiSite Module Support Thread

Damn I'm lucky I got the job to do this in an heavily modified webshop...
But with good comparison and uploading 1-by-1 it should work in the end?
I already found that some elements are slightly different than 1.3.8, but even by that deep comparison I had trouble.

Well, it probably rains next sunday, going to try once more before I give up.

14 Jul 2012, 1:37 PM
#1563
lukeengland12 avatar

lukeengland12

New Zenner

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

Re: MultiSite Module Support Thread

stefjuuh:

Damn I'm lucky I got the job to do this in an heavily modified webshop...
But with good comparison and uploading 1-by-1 it should work in the end?
I already found that some elements are slightly different than 1.3.8, but even by that deep comparison I had trouble.

Well, it probably rains next sunday, going to try once more before I give up.

let me know if i can help with anything i took a few attempts but it works now

16 Jul 2012, 1:53 PM
#1564
swilliams88 avatar

swilliams88

New Zenner

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

Re: MultiSite Module Support Thread

We have been running Multisite Module on numerous sites for just over 6 months now and I am loving it! However, I have a question regarding the admin section. I thought the module allowed for a change in admin section to show which site the order was placed on or customer registered on....my admin does not seem to be showing that.

Anyone have any insight?

17 Jul 2012, 7:26 PM
#1565
hollettster avatar

hollettster

New Zenner

Join Date:
Apr 2009
Posts:
31
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Have a question I am not sure has been answered already. (This was setup BEFORE I realized there was a multisite module and I have not looked over the module code yet to see how it works. I figured the forum would be the fastest way to find out.)

I have a domain like https://www.example.com and this is my main 'RETAIL' site where anyone can register and browse, see pricing and not need to login (except to purchase).

I then setup a second store with totally different options as far as minimums and pricing (But it is all the ALMOST the exact same as the retail site just for wholesalers). When going to the site, https://www.example.com/wholesale, you are forced to create an account which then needs approved before they can browse and order from this store. I need to keep this ability but what I would like is for a unified admin panel like what the MultiSite module offers but I have 2 separate databases instead of a unified one. I do not need a multi-cart merge or anything like that. Just looking for a unified backend.

Both store fronts are ZC 1.5 with several mods and many custom mods I have written. (I created the Main Retail store and once it was just right, I duplicated it and put in a wholesale subfolder and re-configured all the paths and settings with minor tweaks so the stores are almost identical.)

I was wondering/hoping if the Module does/works with this type of setup or if it can be easily tweaked to handle this type of setup? I am willing to work with people to create a mod that can do this.

1 Aug 2012, 8:40 PM
#1566
greg80222 avatar

greg80222

New Zenner

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

Re: MultiSite Module Support Thread

Hello all,

I have been pretty successful in getting this module to work. the main thing I am running into now is on my test server I cannot get the two sites to take a different CSS. they both take the template_default no matter what I seem to change or update. Has anyone else run into this? I am running 1.5 ZC and 0.4.1 MM. Any help or insight is much appreciated.

15 Aug 2012, 11:00 PM
#1567
kbear avatar

kbear

New Zenner

Join Date:
Mar 2011
Location:
In a green and pleasant land
Posts:
46
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi
I've started to read this thread and realised after about 60 posts that I'm losing the plot.

Can someone who has successfully integrated this mod answer these questions please so that I know if it will eventually be worth my while spending time on it.

I have three shops. www.equine-cortaflex.co.uk , www.equivivre-shop.co.uk and www.bestfeedsupplements.co.uk. which at the moment all run their own copies of zen-cart.
This is obviously a nightmare for me in terms of controlling stock and so I want to integrate them into one database.
However I need to understand how this mod deals with the folowing:
In terms of my domains, do I just point them all to the same directory and then let zen cart / multi-site sort them out?
Can I sell at different prices in different stores. So for instance can I have a product priced at £10:99 in one store and £7.99 in another?
Can shipping costs vary by site?
What happens where I have mods in one site that require database fields added - I'm thinking of the extra product information mod
Am I right in thinking I just have one copy of zen-cart running with three templates - one for each store?
What happens about things like contact information - can this be different for each store?
What happens to PayPal - does it all need to be paid through the same account?

Is there anything major that I can't do? that I've missed above

I would really value your input, I am currently building local sites in example.com - but I'm not sure how to replicate the 3 separate domains locally is there a way of doing it?

Many thanks

John

20 Aug 2012, 5:32 PM
#1568
bleverrett avatar

bleverrett

New Zenner

Join Date:
May 2008
Posts:
1
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I've seen postings going back and forth about this module working with 1.5. Has anyone been able to make it work, and if so can you give me a heads up on what you did to get it working?

I have five stores that I would like to combine into one install of 1.5.

Thanks,
Brad

23 Aug 2012, 7:57 AM
#1569
simon1066 avatar

simon1066

Totally Zenned

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

Re: MultiSite Module Support Thread

What part of the install process are you stuck on?

26 Aug 2012, 9:10 PM
#1570
milko avatar

milko

New Zenner

Join Date:
Aug 2012
Posts:
1
Plugin Contributions:
0

Re: MultiSite Module Support Thread

A potential new customer of mine wants a unified backend/admin for it's 6 zencart based stores - which could be accomplished with the MultiSite Module. An important question is how much time the implementation of it would take? I am an experienced PHP/MySQL developer and where it comes to shop-cms'es I know my way in oSCommerce. However I am new to ZenCart. I am not sure about the ZenCart-version being used by the customer, but I assume it is the latest (stable) version.

Thnx for your answer in advance.

25 Sep 2012, 1:12 AM
#1571
keith2000 avatar

keith2000

New Zenner

Join Date:
Sep 2012
Posts:
1
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have successfully installed the script (on Zen 1.3.9), sideboxes/search etc are all working, but am having a problem with my custom tpl_header.php file.

The version of the file I have for my template does not seem to call the cat_filter function. I am not a php programmer, but think the bit of code that needs to change is shown below. Can anyone tell me what I need to code so that when the menu is created, it filters out the categories which are not meant to be shown for that site... at the moment, all categories are shown regardless of what sitename is put in the admin screen against the categores.

Thanks in advance.

	<div class="horizontal-cat">
		<!--bof-drop down menu display-->
		<!-- menu area -->
<div id="dropMenuWrapper"> <div id="dropMenu">
  <ul class="level1">
<?php $categories_query = mysql_query("select c.categories_status, c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_status = '1' and c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$_SESSION['languages_id'] ."' order by sort_order, cd.categories_name LIMIT 0,10"); while ($categories = mysql_fetch_array($categories_query)) { ?> <?php if (zen_has_category_subcategories($categories['categories_id']) > 0) { $class = ' class="submenu"'; } ?>

<li<?php echo $class;?>><a href="<?php echo zen_href_link(FILENAME_DEFAULT, 'cPath='.$categories['categories_id']); ?>"><?php echo $categories['categories_name']; ?></a>

<?php if (zen_has_category_subcategories($categories['categories_id']) > 0) { ?> <ul class="level2"> <?php $categories_query_1 = mysql_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '".$categories['categories_id']."' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$_SESSION['languages_id'] ."' order by sort_order, cd.categories_name LIMIT 6"); while ($categories_1 = mysql_fetch_array($categories_query_1)) { ?> <li><a href="<?php echo zen_href_link(FILENAME_DEFAULT, 'cPath='.$categories['categories_id'].'_'.$categories_1['categories_id']); ?>"><?php echo $categories_1['categories_name']; ?></a></li> <?php } ?> </ul> <?php } ?> </li> <?php } ?>
</ul>
</div> </div> <div class="clearBoth"></div> <!--eof-drop down menu display--> </div> </div>
25 Sep 2012, 6:27 AM
#1572
simon1066 avatar

simon1066

Totally Zenned

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

Re: MultiSite Module Support Thread

Keith2000:

I have successfully installed the script (on Zen 1.3.9), sideboxes/search etc are all working, but am having a problem with my custom tpl_header.php file.

Thought I might be able to help at first, but the only location I know for the cat_filter is after a $db->Execute which isn't present. I'm afraid I too don't know enough about php to help.

8 Nov 2012, 4:06 PM
#1573
robadm avatar

robadm

New Zenner

Join Date:
Apr 2012
Posts:
8
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi there,

Is the MultiSite Module compatible with ZenCart V1.5?

Thanks.

12 Nov 2012, 9:28 PM
#1574
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

I am working on an update for zen cart 1.5.1 . I have it working on a test site, but a lot of files need to be modified and checked, so please be patient and give me another week or so.:smile:

18 Nov 2012, 4:42 AM
#1575
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,675
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have one question,,,, do you have to install a fresh new Zencart into a sub-folder to make it work or what?

18 Nov 2012, 6:03 AM
#1576
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: MultiSite Module Support Thread

do you have to install a fresh new Zencart into a sub-folder to make it work or what?
Each site needs to have a fileset installed - usually in another domain name

The edits and file changes allow using "One Database"

18 Nov 2012, 8:46 AM
#1577
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

kobra:

Each site needs to have a fileset installed - usually in another domain name

The edits and file changes allow using "One Database"

Sorry Kobra, but that is not how it works.

There is one Zen Cart installation, each domain will be assigned its own template (fileset) within this installation.
The edits in this mod determine which domain use what files, categories and products.

18 Nov 2012, 3:57 PM
#1578
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: MultiSite Module Support Thread

Design75:

Sorry Kobra, but that is not how it works.
It is "MultiSite" not "MultiTemplate"

I have seen it setup as I described

18 Nov 2012, 4:42 PM
#1579
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

kobra:

It is "MultiSite" not "MultiTemplate"

I have seen it setup as I described

I am not going to argue how it can be done, or what is better :blush:, but this module was intended to use the templates see point 5 from the installation manual

Step 5: Make a Template for each site
We assume that you already have a Zen-cart shop installed with some categories and products.
You need to have a 2nd template that will be use for your 2nd shop. You can simply copy and past
the one from your folder "includes/template/[YOUR_TEMPLATE]" Or you can download some
from www.zen-cart.com.

It may very well be used the way you described, but not "out of the box", or someone should rewrite the manual :smile:

18 Nov 2012, 4:57 PM
#1580
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: MultiSite Module Support Thread

Design75:

It may very well be used the way you described, but not "out of the box", or someone should rewrite the manual
Read all of the manual where site1 and site2 are different domains
What you posted is to notify the database which template each domain uses
Remember - that only one database runs all multi-site shops
Manual:

In this file, you have to add as many add_site_link(...); as you want of site links.
Example:
add_site_link('Shop Site1','http://www.site1.com');
add_site_link('Shop Site2','http://www.site2.com');