Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Predictive Search Module Search Results

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-09-2015, 02:24 PM
  DanielleHoyt's Avatar 
DanielleHoyt DanielleHoyt is offline
 

Newbie
  
Join Date: Dec 2013
Location: California, US
Posts: 9
 

Default Predictive Search Module Search Results

Hi everyone. I use the predictive search module in Busy Kitchen and by default it pulls from the product description. This is a major issue, and it shows too many results that are not relevant.

I've been stuck for days trying to get this predictive search module to not pull results from product descriptions.

I edited busy_kitchen/customer/main/search_result.tpl

PHP Code:
['posted_data[by_shortdescr]'false],
  [
'posted_data[by_fulldescr]'false], 

PHP Code:
<td width="5"><input type="checkbox" id="posted_data_by_shortdescr" name="posted_data[by_shortdescr]"{if $search_prefilled eq "" or $search_prefilled.by_shortdescrdisabled="disabled"{/if} /></td>
  <
td nowrap="nowrap"><label for="posted_data_by_shortdescr">{$lng.lbl_short_description}</label>&nbsp;&nbsp;</td>


  <
td width="5"><input type="checkbox" id="posted_data_by_fulldescr" name="posted_data[by_fulldescr]"{if $search_prefilled eq "" or $search_prefilled.by_fulldescrdisabled="disabled"{/if} /></td>
  <
td nowrap="nowrap"><label for="posted_data_by_fulldescr">{$lng.lbl_det_description}</label>&nbsp;&nbsp;</td

I also edited busy_kitchen/customer/search.tpl

PHP Code:
<input type="hidden" name="posted_data[by_descr]" value="N" /> 

This is probably way easier than I am making it. I am sort of a noob when it comes to php so I was hoping one of you awesome individuals could help me!
Attached Files
File Type: tpl search.tpl (1.2 KB, 99 views)
File Type: tpl search_result.tpl (10.7 KB, 96 views)
__________________
X-Cart 4.6.0
Reply With Quote
  #2  
Old 04-09-2015, 07:29 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Predictive Search Module Search Results

Which predictive search module are you using?

I would be surprised if you are able to accomplish this by editing .tpl files! I'm pretty sure you are going to need to do this in PHP. I recommend hiring a developer, dealing with search is not something that just anyone can do.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 04-10-2015, 06:32 AM
  DanielleHoyt's Avatar 
DanielleHoyt DanielleHoyt is offline
 

Newbie
  
Join Date: Dec 2013
Location: California, US
Posts: 9
 

Default Re: Predictive Search Module Search Results

I am using the X-cart's predictive search (http://www.thexcartstore.com/predictive-search-module-xcart.html)
__________________
X-Cart 4.6.0
Reply With Quote
  #4  
Old 04-13-2015, 08:42 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Predictive Search Module Search Results

This is not "X-Cart's" predictive search, it is Predictive search for X-Cart by The Xcart Store, commonly referred to on this board as TXS.

This is a third party module, not an official one, so only people that have this module will be able to help. I suggest contacting TXS support. http://support.thexcartstore.com/
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -8. The time now is 07:59 AM.

   

 
X-Cart forums © 2001-2020