Re: MultiSite Module Support Thread
Quote:
Originally Posted by
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.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
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.
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
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:
Code:
$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:
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):
Code:
<?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);
}
}
?>
Now locate the following code:
Code:
<td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
and change to the following:
Code:
<td class="pageHeading"><?php echo nl2br($order_site_address); ?></td>
Save and upload the file to your site. Now we have to add the variable in your site_config file. Open each file and add the following code:
Code:
$order_site_address = 'YOUR_SITE_NAME
YOUR_STREET
YOUR_CITY_STATE_ZIP
YOUR_PHONE';
Upload these files to your site and test it out for me. Let me know your results and I'll get the invoice up and running also.
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.
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 ;;
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
Quote:
Originally Posted by
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.
New to Zen Cart and Multisite: Is There A Good Source of Info on Multisite Setup?
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
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
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.
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!
Re: New to Zen Cart and Multisite: Is There A Good Source of Info on Multisite Setup?
Quote:
Originally Posted by
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/showpo...postcount=1441