Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    8
    Plugin Contributions
    0

    red flag Re: Frontend for multiple shops

    Quote Originally Posted by kobra View Post
    It first creates a session and a link to the DB that is controlled by this session - then search.php can query the now open DB.
    The problem is that I haven't found where's the code that reads "SELECT * FROM `table` WHERE `productname` = '$form_input'"

    Or anything like that. Where is the query that searchs in the database generated? I haven't found that yet

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Frontend for multiple shops

    Depending on where in the process you are i.e navugating to a category page or using the search function ....most of these are defined as functions and could be in the /includes/functions/functions_lookups.php
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Frontend for multiple shops

    Quote Originally Posted by kobra View Post
    Depending on where in the process you are i.e navugating to a category page or using the search function ....most of these are defined as functions and could be in the /includes/functions/functions_lookups.php
    Hmm, haved a look there and there's nothing useful (almost every function needs the product_id to perform a lookup)...

    The closest I've ever been today is function zen_parse_search_string() located in /includes/functions/functions_general.php but the search string comes prepared from the outside I think I'll be doing some "debugging" from this function to see where it gets called.

    Thanks to the link to the functions directory tho!

  4. #4
    Join Date
    Dec 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Frontend for multiple shops

    Well, I think I found most of it, thanks to this link:

    http://www.phpxref.com/xref/zencart/.../index.html.gz

    the file where the variable $listing_sql is initialized is:

    includes/modules/pages/advanced_search_result/header_php.php


 

 

Similar Threads

  1. One site - many shops. Multiple payees?
    By charmedbytina2 in forum General Questions
    Replies: 2
    Last Post: 18 Apr 2008, 05:01 PM
  2. Search multiple shops on one domain
    By treehstn in forum General Questions
    Replies: 5
    Last Post: 13 Apr 2008, 01:17 AM
  3. Update multiple shops products different Admin's
    By Reynolds in forum General Questions
    Replies: 0
    Last Post: 2 Feb 2008, 03:23 AM
  4. Can I make a site with multiple shops in it?
    By Rev07 in forum General Questions
    Replies: 4
    Last Post: 3 Jun 2007, 08:41 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