Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Search Box Rate Topic   - - - - -

 
  • Avantgarde
  • Newbie
  • Trial users
  • Join Date: 14-Sep 18
  • 2 posts

Posted 08 November 2018 - 10:50 AM #1

Hello,

 

When i now type a search word on the top of my website in the search field, the search results are also containing all the products that have that word in their page. This results in a lot of unwanted search results.

 

Does anybody know how to make it so that when you type a search word. That the site will only search in the product titles and not in the text on the pages ?

 

wbr,



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3312 posts

Posted 09 November 2018 - 11:18 AM #2

Hello,

 

When i now type a search word on the top of my website in the search field, the search results are also containing all the products that have that word in their page. This results in a lot of unwanted search results.

 

Does anybody know how to make it so that when you type a search word. That the site will only search in the product titles and not in the text on the pages ?

 

wbr,

 

Hello!

 

You can edit the design/themes/YOUR_THEME/templates/common/search.tpl file. Replace this

<input type="hidden" name="subcats" value="Y" />
<input type="hidden" name="pcode_from_q" value="Y" />
<input type="hidden" name="pshort" value="Y" />
<input type="hidden" name="pfull" value="Y" />
<input type="hidden" name="pname" value="Y" />
<input type="hidden" name="pkeywords" value="Y" />
<input type="hidden" name="search_performed" value="Y" />

with 

<input type="hidden" name="subcats" value="Y" />
<input type="hidden" name="pcode_from_q" value="N" />
<input type="hidden" name="pshort" value="N" />
<input type="hidden" name="pfull" value="N" />
<input type="hidden" name="pname" value="Y" />
<input type="hidden" name="pkeywords" value="N" />
<input type="hidden" name="search_performed" value="Y" />

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19159 posts

Posted 09 November 2018 - 01:20 PM #3

Please take a look at our free addon

 

https://www.ecom-lab...nts-add-on.html


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 154 posts

Posted 12 January 2019 - 11:33 AM #4

eComLab addon is the best and easy solution in this way


CS Cart lovers


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19159 posts

Posted 14 January 2019 - 06:09 AM #5

eComLab addon is the best and easy solution in this way

 

Thank you for the kind words


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.