Тексты товаров в разные ячейки и 404 страница

This commit is contained in:
Konstantin
2026-05-30 12:02:09 +03:00
parent af9b7b13a4
commit 0774c39ba8
23 changed files with 101 additions and 12062 deletions
+2 -10
View File
@@ -52,20 +52,12 @@ $(document).ready(function() {
/* Search */
$('#search input[name=\'search\']').parent().find('button').on('click', function() {
var url = $('base').attr('href') + 'index.php?route=product/search';
var value = $('header #search input[name=\'search\']').val();
if (value) {
url += '&search=' + encodeURIComponent(value);
}
location = url;
return false;
});
$('#search input[name=\'search\']').on('keydown', function(e) {
if (e.keyCode == 13) {
$('header #search input[name=\'search\']').parent().find('button').trigger('click');
return false;
}
});