As this is my first time with OpenCart, I'm looking for a lot of improvements. I've noticed that ENTER button has no action on products search form (back-end). After I enter a phrase, that would be very convenient to press Enter and submit the query. But it ain't working. So I need to move my mouse on button "Filter".
v2.3.0.2
Ok so are you a developer?
This would need you to add a JavaScript listener on to those fields and then trigger the filter button event.
This would need you to add a JavaScript listener on to those fields and then trigger the filter button event.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I wouldn't say that I'm a developer, I just want to have done it by myself as much as possible.paulfeakins wrote: ↑Wed Nov 15, 2017 5:54 pmOk so are you a developer?
This would need you to add a JavaScript listener on to those fields and then trigger the filter button event.
Then this is a good starting point:
https://stackoverflow.com/questions/706 ... nput-field
You'll need to change it to work with those fields and you'll need to change // Do something to call the function that is called when the Filter button is pressed.
Good luck
https://stackoverflow.com/questions/706 ... nput-field
Code: Select all
$(".input1").on('keyup', function (e) {
if (e.keyCode == 13) {
// Do something
}
});
Good luck
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
For anyone finding this post and looking for a ready-made solution, there is an extension available: viewtopic.php?t=203130
Who is online
Users browsing this forum: No registered users and 153 guests