SportStore — Modern Multi-Purpose OpenCart Theme v.2.6

Please log in or регистрация to like posts.
Шаблоны

Before you upgrade your store be sure to read the READ FIRST!!!.HTML

SportStore is responsive, multi-purpose and modern OpenCart theme. Unlimited colors and +600 google webfonts allow you to create individual store. Many custom modules and settings give you more option to work with theme without code editing.

687474703a2f2f7468656d656e69732e636f6d2f6f70656e636172742f73706f727473746f72652f73637265656e732f30322e706e67

Возможна проблема с сменой языка, ошибки типу

catalog/view/theme/sportstore/template/module/language.tpl on line 7	Notice: Undefined variable: language in /catalog/view/theme/sportstore/template/module/language.tpl on line 8

Решается: заменить содержание файла catalog\view\theme\sportstore\template\module  на

<?php if (count($languages) > 1) { ?>
<!-- Language -->
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="language_form">
	<div class="dropdown">
		<?php foreach ($languages as $language) { ?>
		<?php if ($language['code'] == $language_code) { ?>
		<a href="#" class="dropdown-toggle" data-hover="dropdown" data-toggle="dropdown"><img src="image/flags/<?php echo $language['image']; ?>" alt="<?php echo $language['name']; ?>" title="<?php echo $language['name']; ?>" width="16px" height="11px" /> <?php echo $language['name']; ?> <b class="caret"></b></a>
		<?php } ?>
		<?php } ?>
		<ul class="dropdown-menu">
		  <?php foreach ($languages as $language) { ?>
		  <li><a href="javascript:;" onclick="$('input[name=\'language_code\']').attr('value', '<?php echo $language['code']; ?>'); $('#language_form').submit();"><img src="image/flags/<?php echo $language['image']; ?>" alt="<?php echo $language['name']; ?>" title="<?php echo $language['name']; ?>" width="16px" height="11px" /> <?php echo $language['name']; ?></a></li>
		  <?php } ?>
		</ul>
	</div>
	
	<input type="hidden" name="language_code" value="" />
	<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</form>
<?php } ?>
Demo Demo
Themeforest-916755-sportstore-modern-multipurpose-opencart-theme2.6 (104.2 MiB, 222 downloads)

Мнение

0
0
0
0
0
0
Уже отреагировал на этот пост.

One comment on “SportStore — Modern Multi-Purpose OpenCart Theme v.2.6

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *