Post by tosal » Sun Jan 03, 2016 2:22 am

Hi, i have a problem with search default module in header.
It does not reply any results even if i have products that contain the text i searched for.
How can i fix it?
For example if you go to my site:
kustomstore.it and insert in search " ape hanger " it returns you "there are no products " but if in results page you write in the search tab "ape hanger" results will appair... :o
Last edited by tosal on Thu Jan 07, 2016 4:40 pm, edited 1 time in total.

New member

Posts

Joined
Mon May 20, 2013 12:40 am
Location - italy

Post by wadali_2000 » Sun Jan 03, 2016 8:32 am

I have the same problem here. Did you found a way to fix it?

Newbie

Posts

Joined
Wed Sep 30, 2015 8:29 pm

Post by viethemes » Sun Jan 03, 2016 9:44 pm

It seem that your template has a bug for the search of header.
To fix it, you can open file catalog/view/javascript/common.js,
find

Code: Select all

var value = $('header input[name=\'search\']').val();
and replace with

Code: Select all

var value = $('.header input[name=\'search\']').val();

http://www.viethemes.com - 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

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by tosal » Mon Jan 04, 2016 12:04 am

Thank you viethemes you are great, your suggestion solved my case.
:dance:

New member

Posts

Joined
Mon May 20, 2013 12:40 am
Location - italy

Post by viethemes » Mon Jan 04, 2016 11:40 pm

Glad to hear that the problem is fixed :)

http://www.viethemes.com - 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

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 36 guests