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

MultiSite Module Support Thread

Views: 580,317

Results 1,441 to 1,460 of 2,247
1 Jun 2011, 2:44 PM
#1441
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

MultiSite Module Support Thread

britneycook:

my apologies.. the above was incorrectly pasted..

Its the HEADER_LOGO_IMAGE thats of importance in this example.

<a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></a>

So glad you figured it out! Thanks for posting your solution....it'll help someone else with this problem in the future!

1 Jun 2011, 3:10 PM
#1442
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

oberheimer:

Can anyone install this for me, i'm having trouble with it
My shop is version 1.3.8a. When i downloaded the files it says for 1.3.8a but in the readme and install files it says 1.3.7

This mod, as currently in the download area, was just successfully installed on 1.3.9h for our site. The installation instructions have not been updated for a while (hence your confusion) but it does work with the current version. I'm planning on doing some revisions/improvements on these instructions as well as adding some additional features that we needed here for an updated release. Here's a copy of the installation instructions as they currently are:

**http://tinyurl.com/3wrtk9m

**I'll be updating them in the next couple of weeks and let you all know when they're available on the ZC site.

1 Jun 2011, 3:23 PM
#1443
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

swilliams88:

I am having the same issue as was posted previously. I was unable to find a solution:

The issue I am having is the order invoices and packing slips do not show the SITE_NAME, STORE_NAME or STORE_NAME_ADDRESS as defined in the config_site file. It only shows the street address and the city/state, but not the top line with the business name. Is there a trick to this?

You're right, both the invoice & packing slip files do not access the site config files (We don't use these forms so it's not something I had noticed before). I think I might know a way to accomplish this...let me mess around with it and get back to you.

1 Jun 2011, 4:40 PM
#1444
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

pfabrick:

You're right, both the invoice & packing slip files do not access the site config files (We don't use these forms so it's not something I had noticed before). I think I might know a way to accomplish this...let me mess around with it and get back to you.

OK, here's what's happening. Within the admin, the constants are loaded before we can determine which site that particular order came from. Since the STORE_NAME_ADDRESS constant is already defined, we can't use the definition within the site config file.

Let's check and make sure this works for you and then I'll give you the code changes for the invoices as well:

open the file YOUR_ADMIN_DIR/packingslip.php and locate the following query:

$order_check = $db->Execute("select cc_cvv, customers_name, customers_company, customers_street_address,
                                    customers_suburb, customers_city, customers_postcode,
                                    customers_state, customers_country, customers_telephone,
                                    customers_email_address, customers_address_format_id, delivery_name,
                                    delivery_company, delivery_street_address, delivery_suburb,
                                    delivery_city, delivery_postcode, delivery_state, delivery_country,
                                    delivery_address_format_id, billing_name, billing_company,
                                    billing_street_address, billing_suburb, billing_city, billing_postcode,
                                    billing_state, billing_country, billing_address_format_id,
                                    payment_method, cc_type, cc_owner, cc_number, cc_expires, currency,
                                    currency_value, date_purchased, orders_status, last_modified
                             from " . TABLE_ORDERS . "
                             where orders_id = '" . (int)$oID . "'");
```and MOVE that query to just below the following code:
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- body_text //--> ```and now change it to the following (we're adding the order_site field): ``` <?php $order_check = $db->Execute("select cc_cvv, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, currency, currency_value, date_purchased, orders_status, last_modified, order_site from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'");

//multi site : determine order site & load the appropriate config file

if(isset($order_check->fields['order_site'])) {
$config_file = $order_check->fields['order_site'].'_config.php';
//echo $config_file;
// exit;
if(file_exists("../includes/config_sites/".$config_file)) {
include("../includes/config_sites/".$config_file);
}
}
?>

    <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
    <td class="pageHeading"><?php echo nl2br($order_site_address); ?></td>

$order_site_address = 'YOUR_SITE_NAME
YOUR_STREET
YOUR_CITY_STATE_ZIP
YOUR_PHONE';

4 Jun 2011, 6:07 PM
#1445
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

OK, I've been through the entire MS module and have plans to rework it in order to minimize core file edits and update it to the latest ZC version. I'm changing the methodology of the site config_switch to a table solution instead of the current file-based situation. This allows for several important features to be added to the admin side:

--User will be able to add a site from within the MultiSite menu!

--A drop-down box loaded with current site names will be added at the top of all configuration pages. This allows the user to control ALL admin settings for each site FROM WITHIN THE ADMIN! No more manually editing configuration files.

--A similar drop-down box will be added at the top of the layout box controller page, allowing the user to choose the template/site that they're working on without having to jump out to the template selector page. This is a bit clunky for a single cart site, but can become quite burdensome for our multisite carts.

--Salemaker modification to allow sales particular to each site.

--I'm aiming for only four core file changes -- ALL within the admin files (mostly due to lack of template over-rides).

If you have any modifications that you have had to make to the multisite mod in order to get it to work for your sites/other mods, I would greatly appreciate if you would PM me with the details so we can get those included with this package.

I'm also working to get the wiki page up and running with documentation and, eventually, even tutorials for this mod.

As for a release date, I'm hoping to have it ready by the end of this month.....kind of depends on my "real" job.

18 Jun 2011, 8:18 AM
#1446
boby avatar

boby

New Zenner

Join Date:
Sep 2010
Posts:
21
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I have a problem !!
My multisite worked well until yesterday when my hosting company upgrade the php version to 5.3.6 !
my version is 1.3.8.a and I can't upgrade it because I made a lot of changes to files and that will be too hard for me to change them again .
I found a patch: PHP 5.3 patch for Zen Cart v1.3.8 / v1.3.8a
at: http://www.zen-cart.com/forum/showthread.php?t=140960
so I installed that and only my admin is came back but the webpage show a white page!

So I use the multisite module for having a multilinguage website wich each language point a domain name.

sites:
http://www.rugs-tapestries.com

actual page is a duplicate of the index page and only show the first page,, so the site don't work !

please help me, if the problem comes from multisite mod installed ;;

2 Jul 2011, 6:59 AM
#1447
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hi:blush:
Was just wondering if you've completed the modifications for the Module Update as of yet.

I didn't want to install using the old version, knowing a new version is right around the corner.
Please let me know so I can act accordingly.

Thanks

pfabrick:

As for a release date, I'm hoping to have it ready by the end of this month.....kind of depends on my "real" job.

5 Jul 2011, 5:37 AM
#1448
wncmacs avatar

wncmacs

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I've just installed Zen Cart 1.3.9 and I want to use Multisite to build a "mall" of independent farmers who want their own stores, but want them to show up in a common area (the Zen Cart). I was told Multisite was the way to go, but I need just a bit of handholding to get me started.

I visited the medea.co.uk/dev site to get instructions, but nothing is there. I have downloaded the Multisite install and have it ready on my computer. Can someone give me pointers on where to go on the web for help in getting this thing running? Also, is what I'm wanting to do with it even feasible? Again, I have been told by others that this is the way to go, but they have never used Multisite before.

Any help you can give will be most appreciated!

wncmacs

6 Jul 2011, 6:34 PM
#1449
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

ljdream00:

Hi:blush:
Was just wondering if you've completed the modifications for the Module Update as of yet.

I didn't want to install using the old version, knowing a new version is right around the corner.
Please let me know so I can act accordingly.

Thanks

Sorry ljdream, Just back from the holiday weekend (US) and I'm running behind due to new projects landing in my lap! I'll try to update you with a release date by this Friday.

It's become a bit more than I bargained for since I'm also trying to cut out as many core changes as possible to make upgrading MUCH easier.

6 Jul 2011, 6:41 PM
#1450
wncmacs avatar

wncmacs

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Re: MultiSite Module Support Thread

pfabrick,

I've just installed Zen Cart 1.3.9 and I want to use Multisite to build a "mall" of independent farmers who want their own stores, but want them to show up in a common area (the Zen Cart). I was told Multisite was the way to go, but I need just a bit of handholding to get me started.

I visited the medea.co.uk/dev site to get instructions, but nothing is there. I have downloaded the Multisite install and have it ready on my computer. Can someone give me pointers on where to go on the web for help in getting this thing running? Also, is what I'm wanting to do with it even feasible? Again, I have been told by others that this is the way to go, but they have never used Multisite before.

Any help you can give will be most appreciated!

6 Jul 2011, 6:51 PM
#1451
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

wncmacs:

I've just installed Zen Cart 1.3.9 and I want to use Multisite to build a "mall" of independent farmers who want their own stores, but want them to show up in a common area (the Zen Cart). I was told Multisite was the way to go, but I need just a bit of handholding to get me started.

I visited the medea.co.uk/dev site to get instructions, but nothing is there. I have downloaded the Multisite install and have it ready on my computer. Can someone give me pointers on where to go on the web for help in getting this thing running? Also, is what I'm wanting to do with it even feasible? Again, I have been told by others that this is the way to go, but they have never used Multisite before.

Any help you can give will be most appreciated!

wncmacs

Well, if you're looking to have multiple vendors (farmers) list items for sell in your one storefront, then MS is not really made to do that. It's purpose is to display different storefronts (with different products if you so desire) based on the web address (eg. www.store1.com & www.store2.com) but with only ONE backend store to make your administration easier. Your customers CAN purchase items from multiple stores in just one cart, but unless you tell them, they may never know that all the sites are managed by one company.

Our company is kicking around an idea of a "Marketplace" where multiple vendors can list products through one storefront. PM me if you want to be notified if we decide to move forward on this concept.

As for the instructions, see this post :http://www.zen-cart.com/forum/showpost.php?p=1033710&postcount=1441

8 Jul 2011, 5:02 PM
#1452
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: MultiSite Module Support Thread

wncmacs,

I'm responding to your email in the forum just in case someone else can benefit from this discussion

wncmacs:

I'd like to be notified if you do move forward with your multiple vendors - one storefront solution for Zen Cart as it would be ideal for my current problem with my farmer's cooperative.

Since you feel Multisite is not a good solution, would it be best for me to set up each farmer as a category in the Zen Cart? One thing Multisite would allow me to do is have different-looking storefronts for each farmer's products within the cooperative.

I need something that is fairly easy to set up. I can get my hands dirty with the code, but for the money they are spending for this store, I don't need to spend an inordinate amount of time getting it going.

Thank you again for your response to my questions.

"wncmacs"

Yes, you could definitely set up each farmer with his own category and then assign that category to his own store. MS requires that you, as administrator, handle the "back-end" - especially as far as the product entry goes.

I think you might be able to pull this off depending on exactly what you want your farmers to be able to do...and how much you can trust them not to muck things up. You might be able to use the mod "Admin profiles" to let them enter their products if you believe they can be trusted. (I haven't used this mod myself....just thinking of using it as a jumping off point for our own development). You CAN change the email address for the orders so that each farmer would get the notification of the sale.

Basically, keep this point in mind, the power of MS is that ANY configuration setting that you can set within ZC's admin can be over-written via the site_config files.

8 Jul 2011, 7:21 PM
#1453
dealman876 avatar

dealman876

New Zenner

Join Date:
Jan 2010
Posts:
49
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I installed this mod and it seem to be working fine. i see a number of very small issues, but that won't stop it from working, but one major issue i have assigning products to each store, for some reason all categories:blink: are going to all the site, and no matter how is the comment or the admin it won't delete or add. any ideas?

11 Jul 2011, 1:33 PM
#1454
1000sunflowers avatar

1000sunflowers

New Zenner

Join Date:
Jul 2011
Posts:
1
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hello, I have spent a few hours looking for possible answer and it is probably obvious but someone else may have had the same problem? I followed instructions and re-checked everything and when I access site2.com domain I just get a blank page with title Index of / with link to 'cgi-bin'. Do I need to write a .htaccess file to make this work? I have cpanel and set-up site2.com as an addon domain. Any suggestions what could be wrong? site1.com works fine, it's just site2.com that seems to not exist because it just shows blank page. Can someone point me in the right direction? Please help :blink:

20 Jul 2011, 11:47 PM
#1455
noppie avatar

noppie

Zen Follower

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

Re: MultiSite Module Support Thread

Is there anyway we could us a shared SSL Woith this.. thank you
Naomi

21 Jul 2011, 9:17 AM
#1456
noppie avatar

noppie

Zen Follower

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

Re: MultiSite Module Support Thread

did you get this working???

1000sunflowers:

Hello, I have spent a few hours looking for possible answer and it is probably obvious but someone else may have had the same problem? I followed instructions and re-checked everything and when I access site2.com domain I just get a blank page with title Index of / with link to 'cgi-bin'. Do I need to write a .htaccess file to make this work? I have cpanel and set-up site2.com as an addon domain. Any suggestions what could be wrong? site1.com works fine, it's just site2.com that seems to not exist because it just shows blank page. Can someone point me in the right direction? Please help :blink:

25 Jul 2011, 11:32 AM
#1457
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: MultiSite Module Support Thread

1000sunflowers:

Hello, I have spent a few hours looking for possible answer and it is probably obvious but someone else may have had the same problem? I followed instructions and re-checked everything and when I access site2.com domain I just get a blank page with title Index of / with link to 'cgi-bin'. Do I need to write a .htaccess file to make this work? I have cpanel and set-up site2.com as an addon domain. Any suggestions what could be wrong? site1.com works fine, it's just site2.com that seems to not exist because it just shows blank page. Can someone point me in the right direction? Please help :blink:

Have you looked in in your "cache" directory for the debug files. These will show you exactly why you are only getting a blank page.

26 Jul 2011, 12:35 PM
#1458
oberheimer avatar

oberheimer

Zen Follower

Join Date:
Feb 2009
Posts:
108
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Hello i have multistore installed but the html rewrite does not work for the new site, what is wrong?
I can pm the link
I tried to disable the rewrite and all pages work when i do this...

5 Aug 2011, 7:34 PM
#1459
gazag avatar

gazag

Zen Follower

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

Re: MultiSite Module Support Thread

Hi
I am wanting to create a cart with many subcarts i.e

Main Domain
Subdomain1 or new domain1
Subdomain2 or new domain2
Subdomain3 or new domain3
Subdomain4 or new domain4
Subdomain5 or new domain5
Subdomain6 or new domain6

I am looking for something that will do this with different looks, products etc on each subdomain or new domain and the paypal and cart being linked as well as the login info!

Will MultiSite do this for me?????:dontgetit

6 Aug 2011, 2:17 AM
#1460
gazag avatar

gazag

Zen Follower

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

Re: MultiSite Module Support Thread

i have done a new install of zen-cart 1.3.9h
And have install multisite module

my mydomain.com page comes up fine but the two subdomains i have are test.mydomain.com and new.mydomain.com and one comes up but with all white background, no pictures and no formating and the other shows a blank page!!:frusty:

Does anyone have any suggestions i have started reading thru the forum but there are zillions of pages on it!!