SportStore – Modern Multi-Purpose OpenCart Theme v.2.6
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.
Возможна проблема с сменой языка, ошибки типу
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
Comment ( 1 )
Демо уже не доступно.