Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Netherlands
    Posts
    48
    Plugin Contributions
    0

    help question Multilanguage search

    1.54 store and I am using 3 languages.
    I noticed a lot of visitors tried to search a product in the wrong language, and use the foreign name/keyword for a product on the search page for another language.
    Trying not to miss out sales, I would like the searchfunction to crawl all languages.

    Right now I am using a quick and dirty way to achive this:

    in /includes/modules/pages/advanced_search_results/header_php.php

    $where_str = " WHERE (p.products_status = 1
    AND p.products_id = pd.products_id
    AND pd.language_id = :languagesID
    AND p.products_id = p2c.products_id
    AND p2c.categories_id = c.categories_id ";

    I just removed the whole line with the language ID.

    As I said quick and dirty, this has a drawback that it shows some products 3 times. If so, only the last product of the 3 shown can be put in the cart. The previous 2 can not be put in the cart, even Zencart says it does.

    Anyone would have a idea how to change this code to search all languages, as it does now, but to clean up the results to show every product only once?

    Any help appreciated.
    Greetings,
    Ronald

  2. #2
    Join Date
    Apr 2017
    Location
    Netherlands
    Posts
    20
    Plugin Contributions
    0

    Default Re: Multilanguage search

    Did you find a solution for your multi language search issue. I experience the same and missing new orders because of it.
    tips would be appreciated

 

 

Similar Threads

  1. multilanguage banners
    By FenG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 May 2010, 01:40 PM
  2. Multilanguage EZ-Pages
    By sumri in forum General Questions
    Replies: 0
    Last Post: 25 Sep 2008, 06:53 AM
  3. ez pages multilanguage
    By 100asa in forum General Questions
    Replies: 3
    Last Post: 6 Mar 2007, 10:22 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