Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 67
  1. #21
    Join Date
    Mar 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    Reza,

    I have just been through the exercise of setting up multiple shops from the one database using Gerome's module and so far I am loving it. To help answer a few of your questions.

    1. The SQL query needs to be run in the admin section for MySQL from your hosting companies MySQL admin tool.

    - What errors did you get? This query worked first off for me.
    - You will see the constant names in the Admin section of your ZenCart, under the Configuration menu there are loads of submenus each with different things to change. Say you pick the Layout Settings and then the first thing to modify is the "Column Width - Left Boxes". Over on the right hand side of the page is the bit with the edit button, The bit in the CAPS text is the Constant Name. Like so:

    Width of the Left Column Boxes
    px may be included
    Default = 150px
    BOX_WIDTH_LEFT

    It is the same for all the modifyable bits.

    2. A redirect Model would not allow you to have different templates, or looks for each site.

    The way that I set up my multisite shops was to install ZenC on the "Primary" site, (http://dcinet.com.au/catalog/), then apply the Multisite changes. Then copy the catalog directory to subdomains, (I have http://shop1.dcinet.com.au/catalog/ and http://shop2.dcinet.com.au/catalog/). When I copied the catalog directories I removed the admin directory from shop1 and shop2, I also had to edit /includes/configure.php to modify urls and directory paths. You will probably need to do this. Using Gerome's multisite module I was able to apply different templates to each site, you can see the results at the urls above.

    3. see 2. :)

    4. all of mine were on the same host, I think that this will make it easier. I'm not sure how you would go trying to connect to the main site database from other hosts, (this might not work, then again it might, haven't tried it can't give you a definitive answer.)

    5. I do not quite understand this question.

    6. This is the same as 1. what was the error?

    7. As I said before I don't think redirection is the model that will work for you, but it really depends on what you are trying to achieve. The model that I have set up will work for me, because I want to have one database / list of products, One Shopping Cart, but multiple shops all with a different look. My plan is to sell shops to companies where their employees can by products from my offerings, but each shop will be branded to the company that buys it. So what is it that you want to achieve?

    8. The reason that you have no products or categories displayed is that you missed a step in the instructions. You need to add <!--sitename--> to the description for the categories that you want to display in your shop. You need to add a separate comment for each site that you want to display the category in. So if you have site1, site2, and site3, and you have a category called hardware, and you want to display this category in site1 and site3 but not site2, you need to add <!--site1--><!--site3--> to the description of the category hardware. You add this in the ZenC admin site. Log in to the admin site::Select the Catalog Menu::Select the Categories and Products menu item::Click the little green "e" on the right hand side of the page that lines up with the "Hardware" category::Add <!--site1--><!--site3--> to the categories description field:: Click the Save Button::Go back to your Shop and refresh the page::Viola:: Happy happy Joy Joy, well at least that is what I said when I got things going.



    I hope that this helps at least a little bit, and just post again if this wad of info leads you to more questions.

    Kind regards,

    David Buckley.

  2. #22
    Join Date
    Sep 2006
    Posts
    100
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    Thank you so much David for you help on this.

    So yes, the instruction are lacking; David said he will give me a hand on it :)

    Reza, what's the version of your database ?
    I only tested it on Apache 3 and 5 so it can be probable that the function CONCAT doesn't work with every database.
    Anyways, these 2 queries are only there to help you with the configuration of your sites and are not obligatory....

    define('DIR_WS_HTTPS_CATALOG', '/a/');


    if you want, you can have only one comment the categories' description like that
    <!--site1-site2-site3-->

    If you don't write any comments, the categories wont be displayed.

  3. #23
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Multi-Site Module...

    hi David & Gerom
    thanks for reply and explanation. now it's okay and works, but there are some questions:
    I did a copy of the whole zen C of www.domain.com to the subdirectory gold.domain.com and then deleted only the admin directory from this last one!

    1- did I do the correct procedure, because in readme file there was nothing about copying zenC to the new site or subdomain? even nothing about which directories?
    2- should I delete all directories except of include in gold.domain.com?

    3-when for a product (exp. A Bug's Life "Multi Pak" Special 2003 Collect...) I had to upload files to server, I don't get any upload neither in shopping cart nor afterwhile in image directories of domain.com and gold.domain.com, respectively. how can I manage in order to uploads for "gold "goes to image directory of gold.domain.com and not to images directotory of domain.com ?

    Gerom: your querries are OKAY. now it works. MySQL version 4.1.21-standard

    GEROM, VERY VERY thank you for this contribution, It solved my problems in using templates related language files in establishing multishop,
    I go to do on my real zen mixed with extra contributions and let you know with which modules may be compatible or not compatible

  4. #24
    Join Date
    Mar 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    My Understanding of things is that you should do the upload on the "Primary" site and then "copy" image files to the sub sites as they are in different file structures. Doing the upload on the "Primary" site will put the appropriate information into the database and put the images in the /images directory. Then when you "copy" the images to the "subdomains" the pics will appear on the "sub-shops"

    If you have the ability on your webserver, (I don't), I'd put in a symlink from the subdomain to the "primary" for the images directory. This should work, then you wont need to "copy" the image files around.

    :)

    Hope that this helps provide some more insight.

    DAVE

    :)

    PS. You will need to add the products to a category that you have added the <!--sitename--> comment to for it to appear on the shop.
    Last edited by david.buckley; 14 Apr 2007 at 04:51 AM. Reason: forgot something. :)

  5. #25
    Join Date
    Jul 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    Gerome, Could you please clarify for me whether I do have to copy catalogs for each stores I have on my site or not? Since I need to have large number of subshops, if what I've just said is true, this module might not be ideal for me. Otherwise, it'll be just what I want! Thanks!

  6. #26
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Multi-Site Module...

    HI
    MAY BE A STUPID QUESTION ? BUT IN ORDER TO CLARIFY; please let me know what do you all mean about " catalog" directory , do catalog=include , or catalog=all directories - admin dir

    thanks

  7. #27
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Multi-Site Module...

    Quote Originally Posted by stargre View Post
    Gerome, Could you please clarify for me whether I do have to copy catalogs for each stores I have on my site or not? Since I need to have large number of subshops, if what I've just said is true, this module might not be ideal for me. Otherwise, it'll be just what I want! Thanks!
    hi stargre
    I was going to do exactly a shop to provide sunshops to the clients, but the problem of a multisie as geroms'one is the admin of the client's shop will be on my side, and it takes very time to add and manage the products for the clients'shop, how does work in your shop? are your customer able to activate and use instantly on his shop in admin area for his shop after payment? (like hosting services that when your payment is Okay, you are redirected to your space),
    let me know
    thanks

  8. #28
    Join Date
    Jul 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    Hi reza,

    I was talking about the whole zencart folder when I refer to 'catalog'. I actually haven't figured out how to work on it yet. I couldn't get the template part to work. So, my shop has no product, no template once I added the contribution.

    I wasn't intending to make a resale shop. What I wanted to is a bit of different. I want to sell different products to different locations (cities). So, before customer choose catagories, they need choose their locations first. I was thinking of adapting Gerome's idea of "subshop" to my "location". So, I'll have huge number of locations. But adminstration is not too much a problem for my situation. Any idea? Any one?

    Stargre

    Quote Originally Posted by reza View Post
    hi stargre
    I was going to do exactly a shop to provide sunshops to the clients, but the problem of a multisie as geroms'one is the admin of the client's shop will be on my side, and it takes very time to add and manage the products for the clients'shop, how does work in your shop? are your customer able to activate and use instantly on his shop in admin area for his shop after payment? (like hosting services that when your payment is Okay, you are redirected to your space),
    let me know
    thanks

  9. #29
    Join Date
    Apr 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    Ok this deal is working great for me EXCEPT lol, I have different drop shippers for each store, so this means different shipping prices and shippers for each site. Is this possible to do?

    Thanks

  10. #30
    Join Date
    Sep 2006
    Posts
    100
    Plugin Contributions
    0

    Default Re: Multi-Site Module...

    Quote Originally Posted by xtremeimpulse View Post
    Ok this deal is working great for me EXCEPT lol, I have different drop shippers for each store, so this means different shipping prices and shippers for each site. Is this possible to do?

    Thanks
    Yes, it is possible; with different way ...

    I think it is possible to use different shipping for different template by puttin a shipping in a template folder ( however, I never tried it)

    If it dsoesn't work, you can still do

    if(SITE_NAME="yoursite1") {
    ... code for a one shipping
    } else if(SITE_NAME="yoursite2") {
    code for another shipping
    }


    Or, if the shipping module uses constant that come from the admin section, you can override then by declaring the constants in the site's configuration file (folder includes/config_sites ...)

    I remind that this module has been made in order to use on zencart install and to manage multiple shops. It means that you only need on folder with your zencart files. However, David was obliged to use different folder has his host doesn't allow him to point different DNS to the same folder...

    Basically, if you have different folder, you will need to copy the images folder when you upload a images. I think it is much easier to have only one folder but it is not always possible according to the host you have...

    I will provide more explaination for this module shortly (and also an official release in the download section of www.zen-cart.com).

    Thanks,

    Gerome.

 

 
Page 3 of 7 FirstFirst 12345 ... LastLast

Similar Threads

  1. Best Place For Multi-Site module Support?
    By bcannon007 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 May 2012, 08:02 PM
  2. No domain found - using multi-site module
    By maperr55 in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 13 Jun 2011, 04:31 PM
  3. Multi-Site Module
    By VASTMAN in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Apr 2009, 05:27 AM
  4. Multi Site Module
    By eaxpdt in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Aug 2008, 10:56 PM
  5. Multi-Site Module Beta Release !
    By Gerome in forum All Other Contributions/Addons
    Replies: 26
    Last Post: 25 Apr 2007, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg