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

MultiSite Module Support Thread

Views: 580,170

Results 1,661 to 1,680 of 2,247
19 Feb 2013, 5:02 AM
#1661
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

MultiSite Module Support Thread

Design75:

Glad you finally have it working.

I'll put it in the next version off th readme.

That probably has to do with the way your server is set up. I never had to do this, and can't remember any posts about it. But it is useful information. Thank you for the feed back.

i'm still leery to use this because of a few reasons..

#1.. i really don't understand why i have to have duplicate zen cart files on both sites - especially the image files.. since i have so many images and 10 sites that i'd like to use this module on, it's hard to believe i have to duplicate zen cart 10 times and all my image files 10 times also.. i sure wish i knew how to do this without duplicating..

19 Feb 2013, 8:32 AM
#1663
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

It will only work if you have one language with ID one

25 Feb 2013, 10:57 AM
#1664
pearcestephens avatar

pearcestephens

New Zenner

Join Date:
Nov 2012
Posts:
69
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Has anybody had much luck with making this mod work with sub directories opposed to sub domains.

I have came across this yet for whatever reason I cant seem to get it to work.

"http://www.zen-cart.com/showthread.php?141009-MultiSite-Mod-amp-Sub-Folders-vs-Subdomains"

I know this has been discussed before in the past, but that was a while ago, and this is a new version.

Cheers

25 Feb 2013, 8:01 PM
#1665
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

PearceStephens:

Has anybody had much luck with making this mod work with sub directories opposed to sub domains.

I have came across this yet for whatever reason I cant seem to get it to work.

"http://www.zen-cart.com/showthread.php?141009-MultiSite-Mod-amp-Sub-Folders-vs-Subdomains"

I know this has been discussed before in the past, but that was a while ago, and this is a new version.

Cheers

my programmer is in the process of making it work with my sites, which are subdirectories of my main site... so mainsite.com/site1 and mainsite.com/site2 are the 2 new sites she set up and both are working when you enter site1.mainsite.com and site2.mainsite.com

2 Mar 2013, 3:02 AM
#1666
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

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.

can someone please translate this for me.. i am having the same problem as some of the overrides (order of new, featured, specials) for the home page are not working when i put them in the _config.php file

2 Mar 2013, 3:03 AM
#1667
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

britneycook:

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?

did you get a resolution to this as i have the same problem.. in fact the overrides won't even let me turn off any of them from showing up - let alone change the order..

2 Mar 2013, 3:08 AM
#1668
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

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:

wow you are having all the same issues as i am.. the ordering of the specials, featureds, new, etc. on the home page and now this - the specials showing up for all products for 1 of my sites.. can we talk?? i need to find answers..l

2 Mar 2013, 3:17 AM
#1669
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

britneycook:

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);

great this helped a lot with 'special' products but now i have the same problem with 'featured' and 'new' and there is no similar file that i can find for them - similar to tpl_specials_default.php

2 Mar 2013, 8:14 AM
#1670
design75 avatar

design75

Totally Zenned

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

Re: MultiSite Module Support Thread

in the latest version (in the downloads section) ```php
$specials_split = new splitPageResults(cat_filter($specials_query_raw), MAX_DISPLAY_SPECIAL_PRODUCTS);


the other values you search are already in

\includes\modules\pages\featured_products\header_php.php
and
\includes\modules\pages\products_new\header_php.php
5 Mar 2013, 5:03 PM
#1671
staft avatar

staft

New Zenner

Join Date:
Aug 2008
Posts:
23
Plugin Contributions:
1

Re: MultiSite Module Support Thread

The instructions sound more difficult than they really are. You only need a main domain (SITE1.COM) and then you park the other domain names at that site (from within your CPanel or equivalent). Then you make a template for each of the domain names, including the main domain name. Your config file must have the folder name. I named all of my websites thisdomain_net and then the template is called thisdomain.net. You need a config file for each domain name to call upon the template. In this config file you can make everything different if it can be assigned in the admin (IE:shipping can be different for each site).

You should then only have the images for each website in the template file. You should make a copy of the pictures for each website, but you can use the image from anywhere in your website.

This works really good and I have about 15 websites running on my copy. I am about to update to the latest zen cart and I am not looking forward to this!

Sean

tyankee:

i'm still leery to use this because of a few reasons..

#1.. i really don't understand why i have to have duplicate zen cart files on both sites - especially the image files.. since i have so many images and 10 sites that i'd like to use this module on, it's hard to believe i have to duplicate zen cart 10 times and all my image files 10 times also.. i sure wish i knew how to do this without duplicating..

5 Mar 2013, 9:28 PM
#1672
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75:

in the latest version (in the downloads section) ```php
$specials_split = new splitPageResults(cat_filter($specials_query_raw), MAX_DISPLAY_SPECIAL_PRODUCTS);

> 
> the other values you search are already in
> 
> \includes\modules\pages\featured_products\header_php.php
> and
> \includes\modules\pages\products_new\header_php.php

thanks - that did it..
7 Mar 2013, 1:08 AM
#1673
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

lidlchris:

thanks - that did it..

woops, i though it worked but after refreshing the screen a few times and random products ending up under "NEW" and "SPECIALS", it doesn't work.. there are products showing up under those columns that are spedifically filtered out using multi site 'Display the relations Categories/Sites'.. and there doesn't appear to be any template specific files under includes/modules/pages.. what am i missing..

check out http://www.swordsofhonor.com - under NEW and SPECIALS.. women's footwear should NOT show up there as they have been filtered out and do not show up under the 'footwear' category.

9 Mar 2013, 11:28 PM
#1674
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

ideasgirl:

Just to inform that all the issues I posted are now solved. Thanks anyway.

how are they solved.. i did what you suggested in your posts but i still get a security exception when checking out on the secondary stores.. do i need to configure my SSL differently with my hosting company??

10 Mar 2013, 1:54 AM
#1675
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

balihr:

The whole point of this module is to have ONE zc installation only.

So, install zen cart in your root or subdomain. Configure everything you need to get it working. Go to your cpanel and create an ADDON domain. When creating it, it will ask you for the document root - just point it to the folder where you've installed zencart.

Look at the screenshot attached. Let's say you've installed zencart in your site1 folder and it opens with site1.com and now you need to configure site2.com
Of course, nameservers should be set before doing this...

Now you need to setup your config_sites folder with the appropriate _config.php files. Keep in mind that you'll need both www.site1.com_config.php and site1.com_config.php if you want your site to open with both addresses. Or, do a 301 redirect for site1.com to https://www.site1.com. The same goes for site2.

Have fun!

balihr, you seem like the one i understand the best on here - good clear communications..

with that said, in your above example, i have that all working correctly BUT i can't get the checkout pages to work for site2.

what i mean by that is that if i put in the _config.php for my secondary site something like this - define('HTTPS_SERVER', 'http://curiousfootwear.com'); - it works fine and takes the user to the checkout pages.. but if i put this - define('HTTPS_SERVER', 'https://curiousfootwear.com'); - it brings up a warning screen that 'the connection is untrusted - do you want to add an exception - blah, blah, blah'.. if i add the exception it takes me to the checkout pages fine but of course, this won't work with a customer..

and i know this is related to my SSL but i have NO idea how to set this up in zen let alone with Godaddy (who i bought the SSL through).. The SSL works great with the main site btw.

any ideas what files need to be updated/changed? anything else i need to do?? these sites are running on a Hostgator VPS.

Thanks in advance.

20 Mar 2013, 11:47 PM
#1676
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

ebaysoho:

NONE of the settings for INDEX LISTING work from the config sites. Anyone with ideas? :blink:

did you ever get an answer to this.. i have 5 multi sites set up and they are working perfectly.. EXCEPT the index settings in the _config files don't work for any of the sites.. I had to hard code my main site to get what i wanted but don't like to do things that way.. anybody know why these settings dont work?

these are the fields that don't seem to be doing anything

define('SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS','0'); //Show New Products on Main Page
define('SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS','1'); //Show Featured Products on Main Page
define('SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS','2'); //Show Special Products on Main Page
define('SHOW_PRODUCT_INFO_MAIN_UPCOMING','0'); //Show Upcoming Products on Main Page

21 Mar 2013, 12:41 AM
#1677
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

on the admin orders screen, i can't see any drop down menu for me to select a site to see only orders for that site.. i've looked the code over 100 times but can't find out why this is happening..

where is that drop down menu supposed to be and why isn't it showing up.. all of the coding seems to be correct in the orders.php file.

21 Mar 2013, 2:15 AM
#1678
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

karimm:

I was wondering, does anyone has multisite setup with the "SitemapXMLv2 module". can't find any thing about that.
I would like to use a xml sitemap for my google webmaster tools.

Can you point me in de right direction ?

Regards,

did you ever get an answer to this??

21 Mar 2013, 5:15 PM
#1679
muttly avatar

muttly

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I've gone through the install procedure best I can and I can get my products to display individually by using a direct link however I have no categories even though they have been applied to both sites and because of this my sites look like they have no products. Help please.

22 Mar 2013, 2:08 AM
#1680
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: MultiSite Module Support Thread

lidlchris:

on the admin orders screen, i can't see any drop down menu for me to select a site to see only orders for that site.. i've looked the code over 100 times but can't find out why this is happening..

where is that drop down menu supposed to be and why isn't it showing up.. all of the coding seems to be correct in the orders.php file.

anyone??? i can't figure this out..