Fórum OpenCart Brasil

Por um e-commerce livre, confiável e profissional

Experimente os serviços de frete da Kangu


Suporte geral sobre problemas técnicos para OpenCart v3.x.
#89673
Ola @regiskawe

Segue a dica, ai é apenas ajustar a gosto.
Código: Selecionar todos
<nav id="top">
  <div class="container">
		<div class="col-sm-3">
		{{ currency }}
    {{ language }}
		</div>
		<div class="col-sm-5">{{ search }}</div>
		<div class="col-sm-4">
			<div id="top-links" class="nav pull-right">
				<ul class="list-inline">
					<li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li>
					<li class="dropdown"><a href="{{ account }}" title="{{ text_account }}" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_account }}</span> <span class="caret"></span></a>
						<ul class="dropdown-menu dropdown-menu-right">
							{% if logged %}
							<li><a href="{{ account }}">{{ text_account }}</a></li>
							<li><a href="{{ order }}">{{ text_order }}</a></li>
							<li><a href="{{ transaction }}">{{ text_transaction }}</a></li>
							<li><a href="{{ download }}">{{ text_download }}</a></li>
							<li><a href="{{ logout }}">{{ text_logout }}</a></li>
							{% else %}
							<li><a href="{{ register }}">{{ text_register }}</a></li>
							<li><a href="{{ login }}">{{ text_login }}</a></li>
							{% endif %}
						</ul>
					</li>
					<li><a href="{{ wishlist }}" id="wishlist-total" title="{{ text_wishlist }}"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_wishlist }}</span></a></li>
					<li><a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_shopping_cart }}</span></a></li>
					<li><a href="{{ checkout }}" title="{{ text_checkout }}"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_checkout }}</span></a></li>
				</ul>
			</div>
		</div>
  </div>
</nav>
<header>
  <div class="container">
    <div class="row">
      <div class="col-sm-4">
        <div id="logo">{% if logo %}<a href="{{ home }}"><img src="{{ logo }}" title="{{ name }}" alt="{{ name }}" class="img-responsive" /></a>{% else %}
          <h1><a href="{{ home }}">{{ name }}</a></h1>
          {% endif %}</div>
      </div>
      <div class="col-sm-offset-5 col-sm-3">{{ cart }}</div>
    </div>
  </div>
</header>
;)
#89681
Ola @regiskawe

Abra seu arquivo de common.js e edite a linha compatível ao search removendo o header.
Veja isso próximo ou na linha 57 e 68
Código: Selecionar todos
	/* 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;
	});

	$('#search input[name=\'search\']').on('keydown', function(e) {
		if (e.keyCode == 13) {
			$('header #search input[name=\'search\']').parent().find('button').trigger('click');
		}
	});
Mude igual abaixo:
Código: Selecionar todos
	/* Search */
	$('#search input[name=\'search\']').parent().find('button').on('click', function() {
		var url = $('base').attr('href') + 'index.php?route=product/search';

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

		if (value) {
			url += '&search=' + encodeURIComponent(value);
		}

		location = url;
	});

	$('#search input[name=\'search\']').on('keydown', function(e) {
		if (e.keyCode == 13) {
			$('#search input[name=\'search\']').parent().find('button').trigger('click');
		}
	});
:D

Ola @quegaroto Após um consulta r&aacut[…]

Ola @DSA000 Aparentemente você esta col[…]

Limpar cache

Olá @LeeCley , Sempre quando eu altero […]

Ola @smaitt Existe aguns modulos para esse fim […]