Post by adam.boustead » Sun Oct 11, 2015 11:47 pm

Hi all,

Ive trawled the opencart forums to find an answer on how to enable the search bar to search the product descrption by default. There's a few ways mentioned for earlier versions of opencart, but not for

So my question would i do it?



Sun Oct 11, 2015 11:45 pm

Post by ForgetfulGuru » Mon Oct 12, 2015 4:20 am

Add this to a vqmod file and give it a go.

<file path="catalog/view/theme/*/template/product/" name="search.tpl">
<operation error="skip">
<search position="replace"><![CDATA[<input type="checkbox" name="sub_category" value="1" />]]></search>
<add><![CDATA[<input type="checkbox" name="sub_category" value="1" checked="checked" />]]></add>
<operation error="skip">
<search position="replace"><![CDATA[<input type="checkbox" name="description" value="1" id="description" />]]></search>
<add><![CDATA[<input type="checkbox" name="description" value="1" id="description" checked="checked" />]]></add>

Life is for the taking. It's everything else you need to pay for.
Anne Makes Lovely Candles

User avatar
New member


Sun Jul 22, 2012 11:12 pm
Location - Left hand corner as you enter the room, better feng shui.

Post by viethemes » Mon Oct 12, 2015 10:47 pm

I have made a OCMOD extension. You can download it here ... d.xml?dl=0 :) - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others

User avatar
Active Member


Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 19 guests