Page 16 of 17 FirstFirst ... 614151617 LastLast
Results 151 to 160 of 164
  1. #151
    Join Date
    May 2015
    Posts
    23
    Plugin Contributions
    0

    Idea or Suggestion Re: Multiple stores with one checkout ?

    Quote Originally Posted by longstockings View Post
    Actinic is not needed but the customer is still using this Ecommerce system. Really it's just an extra step I needed to work around which took ages.

    To achieve a custom category list I edited category_tree.php in includes/classes/

    I changed the original sql query by adding this

    and cd.categories_name LIKE '%KEYWORD%'

    where KEYWORD is the word that appears in your category names that you want to show on your shop

    Like this

    class category_tree {

    function zen_category_tree($product_type = "all") {
    global $db, $cPath, $cPath_array;
    if ($product_type != 'all') {
    $sql = "select type_master_type from " . TABLE_PRODUCT_TYPES . "
    where type_master_type = '" . $product_type . "'";
    $master_type_result = $db->Execute($sql);
    $master_type = $master_type_result->fields['type_master_type'];
    }
    $this->tree = array();
    if ($product_type == 'all') {
    $categories_query = "select c.categories_id, cd.categories_name, c.parent_id
    from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
    where c.parent_id = '0'
    and c.categories_id = cd.categories_id
    and cd.language_id='" . (int)$_SESSION['languages_id'] . "'
    and c.categories_status= '1'
    and cd.categories_name LIKE '%KEYWORD%'
    order by sort_order, cd.categories_name";
    } else {
    $categories_query = "select ptc.category_id as categories_id, cd.categories_name, c.parent_id
    from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_PRODUCT_TYPES_TO_CATEGORY . " ptc
    where c.parent_id = '0'
    and ptc.category_id = cd.categories_id
    and ptc.product_type_id = '" . $master_type . "'
    and c.categories_id = ptc.category_id
    and cd.language_id='" . (int)$_SESSION['languages_id'] ."'
    and c.categories_status= '1'
    order by sort_order, cd.categories_name";


    This is just an example of one way you could accomplish this.

    Hope the info is of use
    I'm trying to implement multistore on Zencart 1.5.5d (Westminster New template) using this method.

    All goes well until I try to edit category_tree.php

    All stores display all categories. I cannot make it work. Can someone help me?
    Last edited by monkeybus; 28 Feb 2017 at 12:49 PM. Reason: Spelling mistake

  2. #152
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Multiple stores with one checkout ?

    @monkeybus, have you set the categories for each store using Tools->Multisite Tools?

  3. #153
    Join Date
    May 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Multiple stores with one checkout ?

    No, I haven't, is Multisite Tools a module?

  4. #154
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Multiple stores with one checkout ?

    Quote Originally Posted by monkeybus View Post
    No, I haven't, is Multisite Tools a module?
    My bad; I was assuming that you were discussion the Multisite Module ... and that tool is part of the installation.

  5. #155
    Join Date
    May 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Multiple stores with one checkout ?

    I went and installed the multisite module, now I've gone and broken my cart.

    I'll have to rethink this.

  6. #156
    Join Date
    Mar 2017
    Location
    United States
    Posts
    3
    Plugin Contributions
    0

    Default Re: Multiple stores with one checkout ?

    Quote Originally Posted by Absolute View Post
    Sorry its taken a while to reply - but I may have good news. I'm currently putting the final touches on a test store which does exactly what your after, and it should be completed by tomorrow.

    I'll let you know how I get on.

    Absolute
    Hello Absolute
    did you ever finalize this mod? or have a working model that just needs final touches?

  7. #157
    Join Date
    Mar 2017
    Location
    United States
    Posts
    3
    Plugin Contributions
    0

    Default Re: Multiple stores with one checkout ?

    Quote Originally Posted by DigitalConcepts View Post
    Hello Absolute
    did you ever finalize this mod? or have a working model that just needs final touches?
    sort of looks like there isnt any interests anymore in this type of stores?
    would anyone like to get hired, or know someone that knows zencart to get this or the one available working ?

  8. #158
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Multiple stores with one checkout ?

    Quote Originally Posted by DigitalConcepts View Post
    sort of looks like there isnt any interests anymore in this type of stores?
    would anyone like to get hired, or know someone that knows zencart to get this or the one available working ?
    the existing mod works fine with the newest zen cart versions. If you need help you can contact me trough PM or email.

  9. #159
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Multiple stores with one checkout ?

    Quote Originally Posted by Design75 View Post
    the existing mod works fine with the newest zen cart versions. If you need help you can contact me trough PM or email.
    I'll second the fact that the existing mod is working great on ZC 1.5.1 through 1.5.5e!

  10. #160
    Join Date
    Mar 2017
    Location
    United States
    Posts
    3
    Plugin Contributions
    0

    Default Re: Multiple stores with one checkout ?

    Quote Originally Posted by lat9 View Post
    I'll second the fact that the existing mod is working great on ZC 1.5.1 through 1.5.5e!
    ok thanks, then in the downloads this would be what all are using?
    or is it something Absolute had working?
    https://www.zen-cart.com/downloads.php?do=file&id=378

 

 
Page 16 of 17 FirstFirst ... 614151617 LastLast

Similar Threads

  1. Multiple stores with just one SSL?
    By mattyg30 in forum General Questions
    Replies: 2
    Last Post: 1 May 2010, 06:45 AM
  2. Can I have multiple stores share one checkout?
    By mick_dodd in forum General Questions
    Replies: 6
    Last Post: 28 Apr 2009, 07:22 PM
  3. Replies: 7
    Last Post: 19 Jul 2008, 06:55 AM
  4. Multiple Stores in one installation sharing one database
    By bajanboost in forum General Questions
    Replies: 16
    Last Post: 9 Jul 2008, 04:58 PM
  5. Replies: 3
    Last Post: 29 May 2006, 04:18 PM

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