Hello !
I am using openkart opensource for my store as mmjariwala.com .
in this site , search function is not working . Please guide me...
qahar wrote:The search is working properly, my test
The problem is your big search input at header not included search value.
I suggest you to ask your themes developer to fix the issue
Thanks qahar !
we are using free theme . so please help me what we have to do.
Try this.
Backup first then open catalog/view/javascript/common.js
Find
Replace with
Backup first then open catalog/view/javascript/common.js
Find
Code: Select all
var search = $('input[name=\'search\']').attr('value');
if (search) {
url += '&search=' + encodeURIComponent(search);
}
Code: Select all
var filter_name = $('input[name=\'filter_name\']').attr('value')
if (filter_name) {
url += '&filter_name=' + encodeURIComponent(filter_name);
}
qahar wrote:Try this.
Backup first then open catalog/view/javascript/common.js
FindReplace withCode: Select all
var search = $('input[name=\'search\']').attr('value'); if (search) { url += '&search=' + encodeURIComponent(search); }
Code: Select all
var filter_name = $('input[name=\'filter_name\']').attr('value') if (filter_name) { url += '&filter_name=' + encodeURIComponent(filter_name); }
Thanks friends !
Its working fine !
Thanks lot !
My skype : raj_singla79
Who is online
Users browsing this forum: No registered users and 2 guests