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

MultiSite Module Support Thread

Views: 580,151

Results 881 to 900 of 2,247
25 Nov 2009, 17:42
#881
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

MultiSite Module Support Thread

And again such a fast response. I can't thank you enough!

Unfortunately, I don't know anything about dns and A records, just heard of it. :(

But isn't there any other way to do this? Like some kind of htaccess redirection or something like that?

And btw, just to be on the safe side - i did create site2 subdomain but don't have ANY files on it. Is that OK?

25 Nov 2009, 18:10
#882
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Who is doing your hosting?

25 Nov 2009, 18:19
#883
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

I'm using a shared server from a company in Croatia (where i'm from) and i'm using a domain that is free in my country for companies and it is supervised by another company.

just add a dot between the 4th and 5th letter of my nick and you know my domain... :smile:

Now i've set up a subdomain called webshop and fotografija. The first one is now working ok, but the second one is giving me a headache.

25 Nov 2009, 18:32
#884
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

When you get a domain there has to be nameservers for the domain. If the name is purchased at one place and hosted at another then usually the hosting company handles the nameservers. When a name is registered (can be changed later) you assign nameservers.

Strangely the IP for your site appears to be in the US. You will need to contact your hosting company to get them to add the A records or show you how to do it if they have a user accessable control panel.

PS... Typing fast.. excuse spelling..

25 Nov 2009, 18:55
#885
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

Oh, yes, i forgot, it's a company from croatia, but i chose a cheaper hosting option so it's hosted on a server in new york (i think it's NY, USA anyway).

I did get some info on the nameservers, but i didn't use it nor needed it. I specifically wanted .hr domain cause it's reserved for companies in croatia (you can't buy it) so customers feel safer when visiting those domains (and i work local only).

OK, I will contact them tomorrow morning. Just one more thing - what do i tell them? :smile: I want webshop.ba... to be default, fotografija.ba... will be the second shop. My root will be something else, a third site with links to the two shops.

25 Nov 2009, 18:58
#886
fotofx avatar

fotofx

Zen Follower

Join Date:
Apr 2008
Location:
South Florida
Posts:
195
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Just tell them to create two A records..

One for webshop
One for fotografija

You want the two records to be the same as the www A record.

25 Nov 2009, 19:03
#887
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

As simple as that? :frusty:

OK, will do it first thing tomorrow morning. And i'll be buck with the results.

25 Nov 2009, 21:42
#888
neboztik avatar

neboztik

New Zenner

Join Date:
Jan 2009
Location:
Czech Republic
Posts:
59
Plugin Contributions:
0

Re: MultiSite Module Support Thread

sorry, pls delete this post, I posted to wrong topic :)

26 Nov 2009, 11:02
#889
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

OK, my host did what i asked (btw, extremely pleasant :smile:) and they sent me a screenshot of my subdomain A record and they are all the same.

But, my fotografija.ba... doesn't open zencart, it just lists the fotografija folder content (which is empty). What could be the problem? I double checked my config_sites folder on webshop folder - it contains fotografija.ba..._config.php and the content is ```

<?php $template_dir = "basic"; define('SITE_NAME','site2'); define('HTTP_SERVER', 'http://fotografija.ba...'); define('STORE_NAME','BA.. print & foto'); //Store Name define('MAX_DISPLAY_CATEGORIES_PER_ROW','1'); //Categories To List Per Row ?>

I guess that's correct.

What could be the problem, why isn't my fotografija.ba... site opening zencart? Did I miss anything?
27 Nov 2009, 02:52
#890
roylen1 avatar

roylen1

New Zenner

Join Date:
May 2009
Posts:
38
Plugin Contributions:
0

Re: MultiSite Module Support Thread

balihr:

Can this module be used for two shops on the same domain?

I have https://www.mydomain.com/shop1 and https://www.mydomain.com/shop2 and want to share customer details between the two shops. Basically, i don't want for customers who have already registered on shop1 to have to go through the whole registration process again on shop2.

I made a few changes that allow the multisite module to support sub-folders as well as sub-domains. It works on my site but it has not been fully tested if someone wants to test it out you can find the details here http://www.zen-cart.com/forum/showthread.php?t=141009

27 Nov 2009, 18:42
#891
losvre avatar

losvre

New Zenner

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

Re: MultiSite Module Support Thread

Hi guys,

I want to make a shop where I can vary the prices of the products depending on the country and if possible some products to be available only to countries I choose.

The site would have about 10 categories and max 200 products of health and beauty. I need to do something that looks like this if not better: https://distrib.foreverliving.com/retail/entry/Shop.do?store=GBR&distribID=440100058935&language=en

Thank you for your time and consideration

27 Nov 2009, 22:58
#892
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

:clap: Yeeee-haaaa! I got it working! Finally...

Now I have another problem - I can't filter categories. When I go To Multisite Tools, under Display Relations i have some strange setting and can't seem to remove it. If i got it right, this is the category filter, and it puts all my categories to all sites automatically. Why is that and how do i change that?

here is a screenshot:

I do have 390 categories (subcats included), but i want them displayed on site1, and only one of those categories to be displayed on site2. Currently, i get all 390 displayed on both sites.

27 Nov 2009, 23:33
#893
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Ok... I've got everythng working like it should... it seems... but I can't get my categories to show up in my sidebox: http://www.thetonersuperstore.com/

The products will show if you click all products. And in the admin, it shows my site in the multi-site controller. What could be causing it not to show my categories?

29 Nov 2009, 21:56
#894
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

Oh man... Since my shop was quite customized, i couldn't use the modified files but had to do it all manually. So, at the end, i figured out that my includes/modules/sideboxes/categories.php was almost an empty file nad had to completly replace it. The same thing was with includes/templates/template_default/sideboxes/tpl_categories.php
After replacing those files and modifying all other files, I got this working.

Is there a way to filter EZpages or define_pages for different sites?

@Little: What sidebox are you using to display categories (search by category)? Make sure you're using categories.php since that's the file you previously edited. Also, your search by brand doesn't work.

29 Nov 2009, 22:21
#895
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: MultiSite Module Support Thread

@balihr: I'm using the tpl_categories sidebox (search by category). I uploaded both of the modified files: includes/modules/sideboxes/categories.php and includes/templates/mytemplatename/sideboxes/tpl_categories.php

I even tried putting the default categories box files back in and it still shows nothing in the categories sidebox, so I went back to the ones in the multi-site mod. But the categories are there, because I can put one in the url and see it and all its sub-cats: http://www.thetonersuperstore.com/index.php?main_page=index&cPath=7

I think that search by brand doesn't work because it uses categories to filter by... or at least I'm hoping that if I can figure out why Categories aren't showing up that fixing that will fix the brands thing. I can't figure out what's going on with that sidebox though.

29 Nov 2009, 22:40
#896
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

Uhmmmm... Did you notice that when you click on any category on this link you just provided , you don't get any products?
Also, when you open a product, there's a link to it's parent category in the breadcrums but it takes you nowhere.

Are you sure all your products and categories are set up properly? Maybe it's the simple-url problem... Don't know, just guessing...

29 Nov 2009, 22:49
#897
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: MultiSite Module Support Thread

@balihr: Yeah... I noticed that. When I click on "Browse All Products" I get all the products, so they're still all there. All this worked fine before the Multi-Site module, so yeah, the categories, sub-categories and products should be set up correctly. I can't figure out what the multi-site module could have changed that would have cause it to break...... ? (btw, thank-you for helping me try to figure this out)

29 Nov 2009, 22:55
#898
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

LittleOleMeDesigns:

I uploaded both of the modified files: includes/modules/sideboxes/categories.php and includes/templates/mytemplatename/sideboxes/tpl_categories.php

Just a sec - are you sure you uploaded the second one to .../mytemplatename/... folder? Because it doesn't go to your template folder but to template_default folder.

29 Nov 2009, 23:09
#899
littleolemedesigns avatar

littleolemedesigns

Zen Follower

Join Date:
Dec 2007
Posts:
142
Plugin Contributions:
0

Re: MultiSite Module Support Thread

@balihr: Yup... I had done that too. Just re-did to double-check. I even went into the admin-->Multi-site tools and added template_default to the categories list and that didn't change it either.

29 Nov 2009, 23:20
#900
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: MultiSite Module Support Thread

If I were you, I'd do it all over again. Actually - I did do it today with my sites... :smile: Restore your backup (and the database) and go over the whole process again and maybe you'll spot your mistake. It's probably some minor thing you missed... And if you didn't install any addons (if it's a basic zc with changed template) you can use the files from this addon. If you did install some addons, i think the best way is to change your files manually and upload them exactly as it says in the guide.

Sorry i can't help you more...