numerous searches and reading posts have only netted info how to mod v1.4x
I need to include 'model' & 'sku' to the default search. We have parts manuals that customers use that have two
different part numbering schemes. We want to be able to give them the option of quickly searching on the part number.
I also searched the installed files for the v1.4x syntax mentioned in other posts and tried adding
url += '&sku=1' += '&model=1'; in a couple of places in search.tpl
../catalog/view/theme/default/template/product/search.tpl with no luck.
Is there an easy edit possible in v1.5.1.3.1?
Thx,
_mr
I need to include 'model' & 'sku' to the default search. We have parts manuals that customers use that have two
different part numbering schemes. We want to be able to give them the option of quickly searching on the part number.
I also searched the installed files for the v1.4x syntax mentioned in other posts and tried adding
url += '&sku=1' += '&model=1'; in a couple of places in search.tpl
../catalog/view/theme/default/template/product/search.tpl with no luck.
Is there an easy edit possible in v1.5.1.3.1?
Thx,
_mr
Last edited by middle_road on Thu Oct 27, 2011 3:17 am, edited 1 time in total.
im using this mod:better_search.xml
all credits:
Kyle Agronick
all credits:
Kyle Agronick
Thanks Eva, I shall give it a try as soon as the coffee pot produces it's brew.
_mr

_mr
Eva30 wrote:im using this mod:better_search.xml
all credits:
Kyle Agronick
...
DRAT! - didn't work out. I've posted the errors out of vqmod.log over on this Thread.
[SOLVED] - I think, maybe...
I edited/changed line No.10 of Kyle's code in 'better_search.xml'
was:
is now:
Search results are now hitting the 'UPC', SKU', & 'Model' fields in our dB...
_mr
DRAT! - didn't work out. I've posted the errors out of vqmod.log over on this Thread.
[SOLVED] - I think, maybe...
I edited/changed line No.10 of Kyle's code in 'better_search.xml'
was:
Code: Select all
<![CDATA[if (isset($data['filter_tag']) && $data['filter_tag']) {]]>
is now:
Code: Select all
<![CDATA[if (!empty($data['filter_name']) && !empty($data['filter_tag'])) {]]>
_mr
Hello,
I just downloaded opencart V 1.5.1.3 and I am totally new to it. I am trying to do a book store where I want the model number field to become ISBN field and when people type ISBN number in search, it should look into the model field too. I found this post which enables the search to look into the model field as well but I dont know where to put this better_search.xml file.
Can anyone please help me understand?
I just downloaded opencart V 1.5.1.3 and I am totally new to it. I am trying to do a book store where I want the model number field to become ISBN field and when people type ISBN number in search, it should look into the model field too. I found this post which enables the search to look into the model field as well but I dont know where to put this better_search.xml file.
Can anyone please help me understand?
Never Mind. I didn't install the VQMOD correctly. Everything works good, except that I want to eliminate the leading or ending space in case customer put those in or copy phrase from places that have spaces before or after the keywords. Any ideas?
confirmed working with 1.5.1.3 with this code changemiddle_road wrote:...
DRAT! - didn't work out. I've posted the errors out of vqmod.log over on this Thread.
[SOLVED] - I think, maybe...
I edited/changed line No.10 of Kyle's code in 'better_search.xml'
was:Code: Select all
<![CDATA[if (isset($data['filter_tag']) && $data['filter_tag']) {]]>
is now:Search results are now hitting the 'UPC', SKU', & 'Model' fields in our dB...Code: Select all
<![CDATA[if (!empty($data['filter_name']) && !empty($data['filter_tag'])) {]]>
_mr
best regards
I need to be able to search the manufacturers name and also the location . can the vqmod be adapted to do that?
I need the search function to return result only if all the search keywords are included in the description or/and product name. For example, if I type Chevy Tahoe Taillights, the page should only return product that has all 3 words in either the product name or/and description. Currently, if I type in i.e. Chevy Tahoe Taillights in the search box the site returns all Chevy products including non-Tahoe and non-Taillights (www.lenobe.com), and is a listing a few hundred which makes the search function useless.
Any ideas or suggestion?
Thanks much!
Any ideas or suggestion?
Thanks much!
Who is online
Users browsing this forum: No registered users and 8 guests