Re: MultiSite Module Support Thread
Is there anyone out here that could possibly help me out with this mod? I have 3 different stores running off of one install, with 3 seperate templates, but i'm having a couple of problems. I need all stores to have a centralized cart, so no matter what store u'r in as soon as you add something to the cart a session begins and you can surf through the other stores while still being in the same session. Any help out here with these problems??:dontgetit
Re: MultiSite Module Support Thread
I am working on a drugs(medicines) site using zencart. Now my clients wants a this multi site module for his shop. I've installed this module this is working on my local machine. Here I am little confused.
I've some queries regarding this module -
1) All sites will use a same products detail or i can set different products for different site(shops) ?
2) Can I set different layout for different site.
3) should I've to maintain different site id in all tables ?
4) Can a registered user can login on all the other partner sites ?
5) how orders will maintain ?
6) do I've make copy of my site folder for different site ? means suppose I've three sites. Then should I've to copy the same project folder with different site name ?
Re: MultiSite Module Support Thread
I am copying and pasting the instruction replacements into each page requested. However, I am stuck at the featured.php page because a line is different.
Per Instructions:
####################################################
### FILE includes/modules/sideboxes/featured.php ###
####################################################
Line 25:
$random_featured_product = zen_random_select($random_featured_products_query);
Replace by:
$random_featured_product = zen_random_select(cat_filter($random_featured_products_query));
My Featured.php Page:
In my includes/modules/sideboxes/featured.php it has:
//$random_featured_product = zen_random_select($random_featured_products_query);
$random_featured_product = $db->ExecuteRandomMulti($random_featured_products_query, MAX_RANDOM_SELECT_FEATURED_PRODUCTS);
The original line is quoted out from I suppose ZenCart, because I have never changed this featured.php page. So how do I copy over the line of code? Should I change it to this:
$random_featured_product = $db->ExecuteRandomMulti(cat_filter($random_featured_products_query));
Thanks for help in advance.
Kaddie
Re: MultiSite Module Support Thread
Hello there,
I don't see the Known Bugs with v1.3.8 been put in to the init_add_crumbs.php file.
you can read about it here.
http://www.zen-cart.com/forum/showpo...7&postcount=12
also in the overrides file there is a piece of code:
categories_id!='".CATEGORIES_ROOT."'
Shouldn't it be just categories_id='".CATEGORIES_ROOT."'
This is the code in the /includes/init_includes/overrides/init_add_crumbs.php file:
// might need isset($_GET['cPath']) later ... right now need $cPath or breaks breadcrumb from sidebox etc.
if (isset($cPath_array) && isset($cPath)) {
for ($i=0, $n=sizeof($cPath_array); $i<$n; $i++) {
$categories_query = "select categories_name
from " . TABLE_CATEGORIES_DESCRIPTION . "
where categories_id = '" . (int)$cPath_array[$i] . "'
and categories_id!='".CATEGORIES_ROOT."'
and language_id = '" . (int)$_SESSION['languages_id'] . "'";
Thanks for your suggestions !
Re: MultiSite Module Support Thread
Forgive my ignorance, but after I have this installed this module could I publish a product to multiple sites by adding it once through the admin ?
If I have multiple zen cart stores already running would the admin from the main store be able to pull the products into the main store admin ?
Re: MultiSite Module Support Thread
hello i hope you can help....
i have 2 sites.. both run the same products.. one zencart is an online sales shop under one name and the other is a zencart store but set to showroom so no sales through this site but displays all the same items.
my problem is that my online price is cheaper than my instore price so both site need different prices. is this possible with this mod to run these site though the same admin page??
Re: MultiSite Module Support Thread
Can I have many stores on the same domain?
I need to allow certain admins access to only certain categories. The best way to do this, I suppose, is to use this module. I want each admin to manage only the items in the category, and no others. I want to create many stores on the same site. Can I do this with this module?
Thanks,
BP
1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'
Ok, this is my first experience with Zen Cart after years of osCommerce. I've installed v1.37 + Multisites from scratch and am still getting this error. I've read every single post in this forum related to this issue (1054 Unknown column 'CATEGORIES_ROOT' in 'where clause') and have followed the install instructions exactly.
Can someone please give a definitive answer as to why this is not working?
I have:
in /public_html/includes/config_sites/www.mysite.org_config.php
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
$template_dir = "classic";
define('SITE_NAME','MySite');
define('CATEGORIES_ROOT','1');
in /public_html/includes/configure.php
include_once('includes/config_sites/sites_switch.php');
According to instructions and every post I have read on the subject, this is all that should be required to resolve the issue. But the only way I can get past this so far is to alter includes/modules/meta_tags.php from:
cd where c.parent_id = ".CATEGORIES_ROOT." ....
to
cd where c.parent_id = 1 ....
So it seems like the file meta_tags is not picking up the variable "1" from includes/config_sites/www.mysite.org_config.php. How can that be?
Re: MultiSite Module Support Thread
For the record, looks like i misunderstood proper location of one of the config files from the instructions. I think the commentaries given in the instructions are a little hard to follow in places.