Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Forzik

Newbie
  
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Forzik

  1. Открой /catalog/view/theme/default/template/common/header.tpl дальше найди <div id="menu"> там ниже увидишь тег <ul> после него вставь ссылки например <li><a href="http://demo.myopencart.ru/index.php?route=information/information&information_id=4">О нас</a></li>
  2. Нужно было сделать что в шапке где выводиться корзина выводилась только цена (пример в корзине 2100р.) я полез в catalog/view/theme/default/template/module/cart.tpl снес там протически все оставил только <a href="index.php?route=checkout/cart"> <div id="cart"> <span id="cart-total"><?php echo $text_items; ?></span> </div> </a> и в /catalog/language/russian/module/cart.php редактировал строчку $_['text_items'] = '% (%s'; в итоге почти получилось ) когда нажимаешь купить то все возвращается на свои места показывает Товаров:1 (100р.) после этого если обновить страницу становиться как надо как решить данную проблемму
  3. Подскажите пожалуйста как вывести вес в модуле последние пытался так в view добавил <?php if ($weight) { ?> <tr> <td>[b]Вес:[/b]</td> <td><?php echo $weight; ?></td> </tr> <?php } ?> и в cotroller $this->data['weight'] = $product_info['weight']; но не прокатывает он не знает переименую $product_info и пишет Notice: Undefined variable: product_info in /var/www/autorbru/data/www/shop.wiwiw.ru/catalog/controller/module/latest.php on line 8
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.