Fórum OpenCart Brasil

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

Suporte geral sobre problemas técnicos para OpenCart v1.x.
Por durso
#75207
@Manoel Vidal,
Manoel Vidal escreveu:@durso aparentemente você editou os arquivos da tradução com algum editor inadequado para a tarefa, utilize o Notepad++ para isso:
https://notepad-plus-plus.org/download/

Você também pode colocar o banner diretamente no arquivo:
catalog/view/theme/PASTA_DO_TEMA/template/common/success.tpl

Espero ter ajudado. :)
Manoel, obrigado pela ajuda!

Pra ser sincero tentei nesse caminho que você falou e outro que o amigo aqui deste post indicou, porém sem sucesso. Creio que esteja inserindo o código em local errado (dentro da pasta indicada porém em linha errada) :roll:
#75214
O caminho seria esse mesmo, se o banner não está aparecendo, creio que você pode está alterando o arquivo errado, pois cada tema pode carregar esse arquivo de onde desejar, sendo que algumas extensões de pagamento também podem ter páginas de confirmação do pedido diferente, ou seja, a página de success.tpl delas podem ser outras.

Em seu caso, creio que o ideal seja contratar um freelancer para o serviço, pois ele irá investigar e resolver o problema.

Espero ter ajudado. :)
#76293
Boa noite!

Estou tentando colocar o selo do ebit no meu site mas não consigo de maneira nenhuma :/
já tentei todas as dicas aqui postadas e nada do selo aparecer, não sei o que fazer kkk tenso.

alguém pode me ajudar ? meu código esta assim:
Código: Selecionar todos
<?php
global $config, $loader, $registry;
$loader->model('custom/general');
$model = $registry->get('model_custom_general');
$layout_id = $model->getCurrentLayout();
$lang = $config->get('config_language_id');
$store_id = $config->get('config_store_id');
$template = $config->get('theme_default_directory');

if ($store_id == 0) {
    $soconfig_general = $config->get('soconfig_general');
    $soconfig_social = $config->get('soconfig_social');
} else {
    $soconfig_general = $config->get('soconfig_general_store');
    $soconfig_social = $config->get('soconfig_social_store');
	
/* GENERAL */
	$text_layout = array(
		'cpanel',
		'backtop',
		'copyright',
		'socials_status',
		'footerpayment_status',
		'footerpayment',
		'customblock_status',
	);
	foreach ($text_layout as $text) {
		if (isset($soconfig_general[$store_id][$text])) {$soconfig_general[$text] = $soconfig_general[$store_id][$text];}
	}
		if (isset($soconfig_general[$lang][$store_id]["footer_socials_title"])) 	{$soconfig_general[$lang]["footer_socials_title"]  = $soconfig_general[$lang][$store_id]["footer_socials_title"];}
	if (isset($soconfig_general[$lang][$store_id]["footer_socials"])) 			{$soconfig_general[$lang]["footer_socials"]  = $soconfig_general[$lang][$store_id]["footer_socials"];}
	if (isset($soconfig_general[$lang][$store_id]["custom_html_title"])) 		{$soconfig_general[$lang]["custom_html_title"]  = $soconfig_general[$lang][$store_id]["custom_html_title"];}
	if (isset($soconfig_general[$lang][$store_id]["customblock_html"])) 		{$soconfig_general[$lang]["customblock_html"]  = $soconfig_general[$lang][$store_id]["customblock_html"];}
	if (isset($soconfig_general[$lang][$store_id]["footerpayment_html"])) 		{$soconfig_general[$lang]["footerpayment_html"]  = $soconfig_general[$lang][$store_id]["footerpayment_html"];}

/* SOCIAL ACCOUNT */
	$text_Social = array(
		'social_status',
		'facebook',
		'twitter',
		'video_code',
	);
	foreach ($text_Social as $text) {
		if (isset($soconfig_social[$store_id][$text])) 		{$soconfig_social[$text] = $soconfig_social[$store_id][$text];}
	}
}

?>
	
	<div class="footer-container">
		<?php if (trim($content_block4)) : ?>
		<div class="footer-top">
				<div class="container">
						<div class="row">
								<div class="col-xs-12">
										<?php echo $content_block4 ?>
								</div>            
						</div>
				</div> 
		</div>
		<?php endif; ?>
		<div class="footer-navbar ">
			<div class="container content">
				<div class="row">
					<?php if (isset($soconfig_general["socials_status"]) && $soconfig_general["socials_status"] != 0) : ?>
					<div class="col-md-3 col-sm-6 col-xs-12 collapsed-block footer-links box-footer">
						<div class="module clearfix">
							<?php if (isset($soconfig_general[$lang]["footer_socials_title"]) && $soconfig_general[$lang]["footer_socials_title"] != '' ) : ?>
							<h3 class="modtitle">
								<?php echo $soconfig_general[$lang]["footer_socials_title"];?>
							</h3>
							<?php endif;?>
							<div  class="modcontent" >
								<?php
									if (isset($soconfig_general[$lang]["footer_socials"]) && $soconfig_general[$lang]["footer_socials"] != '' && is_string($soconfig_general[$lang]["footer_socials"])) :
										echo html_entity_decode($soconfig_general[$lang]["footer_socials"], ENT_QUOTES, 'UTF-8');
									endif;
									?>
							</div>
						</div>
					</div>
					<?php endif; ?>
					
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2646.7477989924464!2d-40.264261451464414!3d-20.2560710888548!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xb819abf1f0d401%3A0xcc247646d0fc86df!2zTSZNIEF1dG9tYcOnw6NvIENvbWVyY2lhbA!5e0!3m2!1spt-BR!2sbr!4v1503923955651" width="300" height="200" frameborder="0" style="border:0" allowfullscreen=""></iframe>
<a id="seloEbit" href="http://www.ebit.com.br/M-M-Automacao-Comercial" target="_blank" data-noop="redir(this.href);"></a> <script type="text/javascript" id="getSelo" src="https://imgs.ebit.com.br/ebitBR/selo-ebit/js/getSelo.js?91715"> </script>
					
					<?php if ($informations) : ?>
<div class="col-sm-6 col-md-3 box-information box-footer">
							<div class="module clearfix">
								<h3 class="modtitle">Informações</h3>
								<div class="modcontent">
							    <ul class="menu">
		                    <li><a href="https://www.lojammautomacao.com.br/index.php?route=simple_blog/article">Blog</a></li>
				    <li><a href="https://www.lojammautomacao.com.br/index.php?route=information/information&amp;information_id=14">Como comprar</a></li>
				    <li><a href="https://www.lojammautomacao.com.br/index.php?route=information/information&amp;information_id=5">Pagamentos e transporte</a></li>
				    <li><a href="https://www.lojammautomacao.com.br/index.php?route=information/information&amp;information_id=15">Trocas e Devoluções</a></li>
				    <li><a href="https://www.lojammautomacao.com.br/index.php?route=product/special">Produtos em promoção</a></li>
																			</ul>
								</div>
							</div>
						</div>
					<?php endif; ?>

					

				  
					<?php if (isset($soconfig_general["footerpayment_status"]) && $soconfig_general["footerpayment_status"] != 0) : ?>
					<div class="col-sm-6 col-md-3 collapsed-block box-footer"  style="margin-top: -15px;">
						<div class="module clearfix">
							
							
								<?php
								
								if (isset($soconfig_general[$lang]["footerpayment_html"]) && $soconfig_general[$lang]["footerpayment_html"] != '' && is_string($soconfig_general[$lang]["footerpayment_html"])) :
									echo html_entity_decode($soconfig_general[$lang]["footerpayment_html"], ENT_QUOTES, 'UTF-8');
								endif;
								?>
						</div>
					</div>
					<?php endif; ?>
					
					
				</div>
			</div>
		</div>
		
		<div class="footer-bottom-block <?php echo (isset($soconfig_general['homepage_mode']) && $soconfig_general['homepage_mode'] == 'boxed' ? 'boxed_home' : ''); ?>">
			<div class=" <?php echo (isset($soconfig_general['homepage_mode']) && $soconfig_general['homepage_mode'] == 'boxed' ? 'boxed_home' : 'container'); ?>">
				<div class="row">
					<div class="col-sm-8 copyright-text" style="color: aliceblue;">
						<?php 
						$datetime = new DateTime();
						$cur_year	= $datetime->format('Y');
						echo (!isset($soconfig_general["copyright"]) || !is_string($soconfig_general["copyright"]) ? $powered : str_replace('{year}', $cur_year, $soconfig_general["copyright"]));?>
					</div>

					<?php if (isset($soconfig_general["footerpayment_status"]) && $soconfig_general["footerpayment_status"] != 0) : ?>
					<div class="col-sm-4">
						<?php
							if (isset($soconfig_general["footerpayment"]) && $soconfig_general["footerpayment"] != '' && is_string($soconfig_general["footerpayment"])) {
								echo html_entity_decode($soconfig_general["footerpayment"], ENT_QUOTES, 'UTF-8');
							}
						?>
					</div>
					<?php endif; ?>

				</div>

			</div>
		</div>
	</div>
    <!-- //end Footer -->
	
	<?php if(isset($soconfig_general["backtop"]) && $soconfig_general["backtop"] == 1):?>
		<div class="back-to-top"><i class="fa fa-angle-up"></i></div>
	<?php endif; ?>
	
	<?php if( $soconfig_general["cpanel"] ):
		
	?>
		<?php include('catalog/view/theme/'.$template.'/template/common/cpanel.php'); ?>
	<?php endif; ?>
	
	<!-- Social widgets -->
	<?php if (!isset($soconfig_social["social_status"]) || $soconfig_social["social_status"] != 0) : ?>
	<div class="social-widgets visible-lg">
		<ul class="items">
			<?php if (isset($soconfig_social["facebook"]) && $soconfig_social["facebook"] != '') : ?>
			<li class="item item-01 facebook">
				<a href="catalog/view/theme/<?php echo $template; ?>/template/social/facebook.php?account=<?php echo $soconfig_social['facebook']; ?>" class="tab-icon"><span class="fa fa-facebook"></span></a>
				<div class="tab-content">
					<div class="title"><h5>FACEBOOK</h5></div>
					<div class="loading">
						<img src="catalog/view/theme/<?php echo $template; ?>/images/ajax-loader.gif" class="ajaxloader" alt="loader">
					</div>
				</div>
			</li>
			<?php endif; ?>

			<?php if (isset($soconfig_social["twitter"]) && $soconfig_social["twitter"] != '') : ?>
			<li class="item item-02 twitter">
				<a href="catalog/view/theme/<?php echo $template; ?>/template/social/twitter.php?account_twitter=<?php echo $soconfig_social['twitter']; ?>" class="tab-icon"><span class="fa fa-twitter"></span></a>
				<div class="tab-content">
					<div class="title"><h5>TWITTER FEEDS</h5></div>
					<div class="loading">
						<img src="catalog/view/theme/<?php echo $template ?>/images/ajax-loader.gif" class="ajaxloader" alt="loader">
					</div>
				</div>
			</li>
			<?php endif; ?>

			<?php if (isset($soconfig_social["video_code"]) && $soconfig_social["video_code"] != '') : ?>
			<li class="item item-03 youtube">
				<a href="catalog/view/theme/<?php echo $template ?>/template/social/youtubevideo.php?account_video=<?php echo $soconfig_social['video_code']; ?>" class="tab-icon"><span class="fa fa-youtube"></span></a>
				<div class="tab-content">
					<div class="title"><h5>YouTube</h5></div>
					<div class="loading">
						<img src="catalog/view/theme/<?php echo $template ?>/images/ajax-loader.gif" class="ajaxloader" alt="loader">
					</div>
				</div>
			</li>
			<?php endif; ?>
		</ul>
	</div>
	<?php endif; ?>
	<!-- //end Social widgets -->

    </div>



</body>
</html>

Gente preciso de ajuda urgente. Na migraç&a[…]

Caro @reds , muito obrigado pela resposta.

PHP 8+ incompatibilidade

Toda tradução para a versão 3[…]

Ola @alex3257 Se você precisa apenas ver […]