Thread: Instant Search

Results 1 to 10 of 222

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Instant Search

    To regroup here :

    the dropdown is not showing.

    In the instructions:
    Dropdown - Input Box Selector : CSS selector of the search input box(es). You might need to change it if you're using a custom template and the results dropdown is not showing.

    Default: input[name="keyword"]

    So the default input listed as name / keyword WHICH IS NOT A CSS SELECTOR and is also present in my template.

    The instant search css has css starting with instantSearchInputWrapper

    The template does have a file for the ajax instant search dropdown that matches the CSS.

    So I am having difficulty seeing that CSS actually is the problem. Yes, I'm using my own template based on the original sidebox files with no core changes and some additional CSS but mostly default zencart template. I have no added jquery in the site. I see no conflict or issues using the browser console.

    I also just installed it on a default 15.8 cart with the responsive template and it doesn't work on it either.
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,560
    Plugin Contributions
    89

    Default Re: Instant Search

    Quote Originally Posted by delia View Post
    To regroup here :

    the dropdown is not showing.

    In the instructions:
    Dropdown - Input Box Selector : CSS selector of the search input box(es). You might need to change it if you're using a custom template and the results dropdown is not showing.

    Default: input[name="keyword"]

    So the default input listed as name / keyword WHICH IS NOT A CSS SELECTOR and is also present in my template.

    The instant search css has css starting with instantSearchInputWrapper

    The template does have a file for the ajax instant search dropdown that matches the CSS.

    So I am having difficulty seeing that CSS actually is the problem. Yes, I'm using my own template based on the original sidebox files with no core changes and some additional CSS but mostly default zencart template. I have no added jquery in the site. I see no conflict or issues using the browser console.

    I also just installed it on a default 15.8 cart with the responsive template and it doesn't work on it either.
    er, the input[name="keyword"] is a valid CSS selector; see this (https://www.w3schools.com/cssref/sel...bute_value.php) link.

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Instant Search

    Quote Originally Posted by lat9 View Post
    er, the input[name="keyword"] is a valid CSS selector; see this (https://www.w3schools.com/cssref/sel...bute_value.php) link.
    So why does it not work? I know how to troubleshoot CSS problems but there's nothing showing for me to look at.

    AND if it doesn't work "out of the box" or for the responsive template and stumps an experienced person, I'm not sure I see the value here. I'm not accustomed to giving up but ....
    The full-time Zen Cart Guru. WizTech4ZC.com

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,560
    Plugin Contributions
    89

    Default Re: Instant Search

    Quote Originally Posted by delia View Post
    So why does it not work? I know how to troubleshoot CSS problems but there's nothing showing for me to look at.

    AND if it doesn't work "out of the box" or for the responsive template and stumps an experienced person, I'm not sure I see the value here. I'm not accustomed to giving up but ....
    Do you have a customized template? The Instant Search plugin's jQuery/javascript is looking for changes to, by default, an input field named 'keyword' in order to send changes from that keyword-entry back to the site to gather matching products.

    FWIW, the default responsive_classic uses the template_default/sideboxes/tpl_search.php and tpl_search_header.php to render the search-related sideboxes'. In both cases, an input field named 'keyword' is created to accept the customer's search keywords.
    Last edited by lat9; 20 Aug 2023 at 04:53 PM. Reason: Corrected file name

  5. #5
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Instant Search

    Quote Originally Posted by lat9 View Post
    Do you have a customized template? The Instant Search plugin's jQuery/javascript is looking for changes to, by default, an input field named 'keyword' in order to send changes from that keyword-entry back to the site to gather matching products.

    FWIW, the default responsive_classic uses the template_default/sideboxes/tpl_search.php and tpl_search_header.php to render the search-related sideboxes'. In both cases, an input field named 'keyword' is created to accept the customer's search keywords.
    Keyword is created.... how and where? Are you saying the mod does that or that is what is needed to be done? In the instructions it mentions keyword only as a name - not input but attribute of input. So you are saying there needs to be an actual input field (assumedly then hidden from view) that is called name?

    No, no error logs or console errors.

    People, no one has offered any sample - any code, any site. I don't maintain or create mods anymore but instructions are important. There are no instructions, just that one thing in the configuration.

    I was interested when looking at github that there was a suggestion this mod be added into the template. I'm all for that - if only to ge the dang code etc.
    The full-time Zen Cart Guru. WizTech4ZC.com

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,595
    Plugin Contributions
    30

    Default Re: Instant Search

    Is there a site to look at?
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,560
    Plugin Contributions
    89

    Default Re: Instant Search

    Quote Originally Posted by delia View Post
    Keyword is created.... how and where? Are you saying the mod does that or that is what is needed to be done? In the instructions it mentions keyword only as a name - not input but attribute of input. So you are saying there needs to be an actual input field (assumedly then hidden from view) that is called name?

    No, no error logs or console errors.

    People, no one has offered any sample - any code, any site. I don't maintain or create mods anymore but instructions are important. There are no instructions, just that one thing in the configuration.

    I was interested when looking at github that there was a suggestion this mod be added into the template. I'm all for that - if only to ge the dang code etc.
    If you're using a template based on the built-in responsive classic, make sure that you have (in the admin's Layout Boxes Controller) the search_header or search sidebox enabled for the template.

    Each of those sideboxes includes an input field named keywords, which is what Instant Search's jQuery/javascript is looking for.

  8. #8
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Instant Search

    Quote Originally Posted by lat9 View Post
    If you're using a template based on the built-in responsive classic, make sure that you have (in the admin's Layout Boxes Controller) the search_header or search sidebox enabled for the template.

    Each of those sideboxes includes an input field named keywords, which is what Instant Search's jQuery/javascript is looking for.
    And yes, the side boxes are enabled.

    @torvista will send url via pm. Site is being readied for upgrade/with new branding.
    The full-time Zen Cart Guru. WizTech4ZC.com

 

 

Similar Threads

  1. Instant Quote
    By Congerman in forum General Questions
    Replies: 2
    Last Post: 15 Aug 2012, 12:29 PM
  2. Instant Coupon
    By Mickmo68 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 22 Dec 2008, 08:19 PM
  3. Instant Delivery?
    By eaglewu in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Jul 2007, 09:30 AM
  4. changes instant
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Sep 2006, 07:12 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