Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old February 7th, 2015, 07:48 AM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default search results problems

I've noticed that in order to find a product from the main search bar of my store you really have to know what the product is called. I'm trying to broaden the results a bit but not sure how to do it without going to far in the other direction. I'm hoping if I give you an example of the problem you could give me a suggestion?

If someone was looking for all results for golf putters, and wanted a particular and popular brand, one might search for "odyssey putter" or "odyssey putters". If you did either of those you'd get zero results.

However if you search for "odyssey" or "putter" or "putters" you get plenty of results. I checked and many results show the words "odyssey" and "putter" or "putters" in the title. So I don't know why when you type both words you get no results.

here is the code I think you might need to see under the search category.

HTML Code:
<!-- Search Heading -->
<h2>Your Search Results:</h2>
<!-- /Search Heading -->


<!-- Search Fields -->
<ul>
  <?php if (@$_GET['word']){ ?><li><b>Word: </b>[store.get param="word"]</li><?php } ?>
  <?php if (@$_GET['merchant']){ ?><li><b>Merchant: </b>[store.get param="merchant"]</li><?php } ?>
  <?php if (@$_GET['tags']){ ?><li><b>Tags: </b>[store.get param="tags"]</li><?php } ?>
  <?php if (@$_GET['price']){ ?><li><b>Price: </b>[store.get param="price"]</li><?php } ?>
</ul>
<!-- /Search Fields -->


<!-- Pagination Links (Top) -->
<div class="pgr">

could it be as simple as changing "word" to "words"?

This is the code for the search bar located in Wordpress:

HTML Code:
<form role="search" method="get" id="searchform" class="search-form" action="/store/search/">
    <div><label class="screen-reader-text" for="s">Search for:</label>
   <input class="search-field" type="text" name="name" id="s" value="<?php echo esc_attr( @$_GET['word'] ); ?>">
    <input class="search-submit" type="submit" id="searchsubmit" value="Search"><input name="saleprice" value="1-" type="checkbox"><strong style="color:#fff;margin-top: 5px; display: inline-table; margin-left: 5px; float: left;">On sale</strong>
</div></form>
http://saveongolf.net

Thanks,
ken

Last edited by yankeestonk : February 7th, 2015 at 07:58 AM.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add prices to search results yankeestonk Questions 3 November 8th, 2013 09:36 AM
Price In the search results vijjus2 Questions 1 August 11th, 2013 09:09 AM
bad search results Michaelgs Questions 1 December 1st, 2012 02:16 PM
? search results with pagination Task001 Questions 2 May 16th, 2012 03:14 PM


All times are GMT -5. The time now is 10:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.