Page 188 of 223 FirstFirst ... 88138178186187188189190198 ... LastLast
Results 1,871 to 1,880 of 2221
  1. #1871
    Join Date
    Oct 2013
    Location
    Waterloo, ON Canada
    Posts
    3
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Thanks!

    The sites sell related equipment, all in the automotive industry, so it would be my guess that as long as only 1 template was needed for displaying all product, that I could potentially collapse the sites into 1.
    The sites are:
    wiretrim.langeman.com
    wrapcut.langeman.com

    and they also created separate sites for the CDN equivalents at:
    wiretrim.shoplangeman.ca
    wrapcut.shoplangeman.com
    I do not know why a separate set of sites (with their multisite module) were created for Canada. Although I believe that the pricing is different. i.e. not even after the US/CDN dollar exchange is taken into account.

    Does Zencart have limitless pricing levels? i.e. could I have separate pricing for Distributor A, Distributor B, ... Distributor N, plus retail etc ?

    Thanks.

  2. #1872
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: MultiSite Module Support Thread

    It's less complex to have one site and point the various domains at it when you're only using one template. Yes there are a number of options for group pricing, discount pricing and wholesale pricing in the forum plugins.

    From my biased perspective, Group Pricing is currently being integrated into Twitch Wholesale which would give you guest, retail, wholesale prices then 5 more static pricing levels.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #1873
    Join Date
    Oct 2013
    Location
    Waterloo, ON Canada
    Posts
    3
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    I have no problem paying for good code / good support that makes things simpler. I am still re-establishing requirements, but once they're done will be looking for solutions to set up ZenCart for selling products on every continent - well maybe not Antarctica - but certainly will require quite a number of pricing levels plus multiple languages.

    Thanks again for your help.

  4. #1874
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: MultiSite Module Support Thread

    Sounds good, you know where to find me ;)
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  5. #1875
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: MultiSite Module Support Thread

    I am just trying to get my head around MYsql and adding/removing items from the database.

    Using this plugin as reference I do not understand why there is only one line of command in the install patch and three lines in the uninstall patch.

    Install.sql

    ALTER TABLE orders ADD order_site varchar(30) NOT NULL DEFAULT 'no';


    Uninstall.sql

    ALTER TABLE `orders` DROP `order_site`;
    ALTER TABLE `ezpages` DROP `ezpages_description`;

    DELETE FROM admin_pages WHERE page_key = 'toolsMultiSite' LIMIT 1;

    First: is this the correct place to talk about this
    Second: can somebody explain why there is a variation in the two sql’s

  6. #1876
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: MultiSite Module Support Thread

    ALTER TABLE orders ADD order_site varchar(30) NOT NULL DEFAULT 'no';
    This adds the column 'order_site' to the orders table

    Uninstall.sql

    ALTER TABLE `orders` DROP `order_site`;
    This removes the column 'order_site' from the orders table

    ALTER TABLE `ezpages` DROP `ezpages_description`;
    This removes 'ezpages_description' from the ezpages table

    DELETE FROM admin_pages WHERE page_key = 'toolsMultiSite' LIMIT 1;
    This removes the 'toolsMultiSite' from the admin registry page
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  7. #1877
    Join Date
    May 2011
    Posts
    90
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Hello. i am looking at this module, and need a little bit explanation if it will work for me. We have a working site mydomain.com/store in english. i need to add 2 more translations for the entire site and its products (spanish and french). do i need to use the multisite module for this or there is anything simpler available? will this module in any way affect my existing urls? will qbi orders exporting work with multisite? thanks.

  8. #1878
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by simpledomaining View Post
    Hello. i am looking at this module, and need a little bit explanation if it will work for me. We have a working site mydomain.com/store in english. i need to add 2 more translations for the entire site and its products (spanish and french). do i need to use the multisite module for this or there is anything simpler available? will this module in any way affect my existing urls? will qbi orders exporting work with multisite? thanks.
    Hello!

    No, you don't need multisite for that. You just have to download the languages files for those languages and install.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  9. #1879
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by simpledomaining View Post
    Hello. i am looking at this module, and need a little bit explanation if it will work for me. We have a working site mydomain.com/store in english. i need to add 2 more translations for the entire site and its products (spanish and french). do i need to use the multisite module for this or there is anything simpler available? will this module in any way affect my existing urls? will qbi orders exporting work with multisite? thanks.
    No you do not need this module, just install extra languages

  10. #1880
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    171
    Plugin Contributions
    3

    Default Re: MultiSite Module Support Thread

    Would you like to see which 'template' your customer is visiting when looking at whos_online ?

    I did, and here's what you need to do if you also wish to ....



    WHOS ONLINE FOR MULTISITE

    Add following column to whos_online in database -

    site varchar(50)

    ---------------


    /zencart/admin/includes/languages/english/whos_online.php

    add -

    define('TEXT_SITE', '<strong>Site:</strong> ');

    ---------------------

    /zencart/admin/whos_online.php

    change -

    $who_query = $db->Execute("select session_id, time_entry, time_last_click, host_address, user_agent
    from " . TABLE_WHOS_ONLINE . "
    where session_id='" . $which . "'");

    to -

    $who_query = $db->Execute("select session_id, time_entry, time_last_click, host_address, user_agent, site
    from " . TABLE_WHOS_ONLINE . "
    where session_id='" . $which . "'");

    change -

    $sql = "select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id, host_address, user_agent
    from " . TABLE_WHOS_ONLINE . " :where: order by :orderby:";

    to -

    $sql = "select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id, host_address, user_agent, site
    from " . TABLE_WHOS_ONLINE . " :where: order by :orderby:";

    change -

    echo TEXT_SESSION_ID . zen_output_string_protected($whos_online->fields['session_id']) . '<br />' .
    TEXT_HOST . zen_output_string_protected($whos_online->fields['host_address']) . '<br />' .
    TEXT_USER_AGENT . zen_output_string_protected($whos_online->fields['user_agent']) . '<br />';

    to -

    echo TEXT_SESSION_ID . zen_output_string_protected($whos_online->fields['session_id']) . '<br />' .
    TEXT_HOST . zen_output_string_protected($whos_online->fields['host_address']) . '<br />' .
    TEXT_SITE . zen_output_string_protected($whos_online->fields['site']) . '<br />' .
    TEXT_USER_AGENT . zen_output_string_protected($whos_online->fields['user_agent']) . '<br />';

    ------------------------

    /zencart/includes/functions/whos_online.php

    change -

    $wo_user_agent = substr(zen_db_prepare_input($_SERVER['HTTP_USER_AGENT']), 0, 254);

    to -

    $wo_user_agent = substr(zen_db_prepare_input($_SERVER['HTTP_USER_AGENT']), 0, 254);
    $wo_site = SITE_NAME;

    change -

    $sql = "update " . TABLE_WHOS_ONLINE . "
    set customer_id = '" . (int)$wo_customer_id . "',
    full_name = '" . zen_db_input($wo_full_name) . "',
    ip_address = '" . zen_db_input($wo_ip_address) . "',
    time_last_click = '" . zen_db_input($current_time) . "',
    last_page_url = '" . zen_db_input($wo_last_page_url) . "',
    host_address = '" . zen_db_input($_SESSION['customers_host_address']) . "',
    user_agent = '" . zen_db_input($wo_user_agent) . "'
    where session_id = '" . zen_db_input($wo_session_id) . "' and ip_address='" . zen_db_input($wo_ip_address) . "'";

    to -

    $sql = "update " . TABLE_WHOS_ONLINE . "
    set customer_id = '" . (int)$wo_customer_id . "',
    full_name = '" . zen_db_input($wo_full_name) . "',
    ip_address = '" . zen_db_input($wo_ip_address) . "',
    time_last_click = '" . zen_db_input($current_time) . "',
    last_page_url = '" . zen_db_input($wo_last_page_url) . "',
    host_address = '" . zen_db_input($_SESSION['customers_host_address']) . "',
    user_agent = '" . zen_db_input($wo_user_agent) . "',
    site = '" . zen_db_input($wo_site) . "'
    where session_id = '" . zen_db_input($wo_session_id) . "' and ip_address='" . zen_db_input($wo_ip_address) . "'";

    change -

    $sql = "insert into " . TABLE_WHOS_ONLINE . "
    (customer_id, full_name, session_id, ip_address, time_entry,
    time_last_click, last_page_url, host_address, user_agent)
    values ('" . (int)$wo_customer_id . "', '" . zen_db_input($wo_full_name) . "', '"
    . zen_db_input($wo_session_id) . "', '" . zen_db_input($wo_ip_address)
    . "', '" . zen_db_input($current_time) . "', '" . zen_db_input($current_time)
    . "', '" . zen_db_input($wo_last_page_url)
    . "', '" . zen_db_input($_SESSION['customers_host_address'])
    . "', '" . zen_db_input($wo_user_agent)
    . "')";

    to -

    $sql = "insert into " . TABLE_WHOS_ONLINE . "
    (customer_id, full_name, session_id, ip_address, time_entry,
    time_last_click, last_page_url, host_address, user_agent, site)
    values ('" . (int)$wo_customer_id . "', '" . zen_db_input($wo_full_name) . "', '"
    . zen_db_input($wo_session_id) . "', '" . zen_db_input($wo_ip_address)
    . "', '" . zen_db_input($current_time) . "', '" . zen_db_input($current_time)
    . "', '" . zen_db_input($wo_last_page_url)
    . "', '" . zen_db_input($_SESSION['customers_host_address'])
    . "', '" . zen_db_input($wo_user_agent)
    . "', '" . zen_db_input($wo_site)
    . "')";

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR