Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

ILyaK96

Новичок
  
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ILyaK96's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. {% if description %} <div class="col-sm-10">{{ description }}</div> {% endif %}</div> ик и гделаю.
  2. Пустое описание отображается в вигде отступа . Как сгделать чтобы не отображалось, если его не заполняешь?
  3. вообещём ошибку нашел : класс conteiner есть в каждом блоке ( т.е в headar, footer, home и тд), и я когда стилизовал header задал этому классу высоту Height, но не привязал к #header - поэтому это свойство применилось к осильным id. Да контейнер полулился заданной высоты, а все что выходит за его прегделы накладывалось поверх него и смещалось ниже
  4. в футере . в смысле d footer.twig?
  5. Всем привет! Подскажите пожалуйси в чем моя ошибка . гделаю как написано во всех примерах : в файле category.php $data['attribute_groups'] = $this->model_catalog_product->getProductAttributes($this->request->get['product_id']); $data['products'][] = array( 'product_id' => $result['product_id'], 'thumb' => $image, 'name' => $result['name'], 'description' => utf8_substr(trim(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'))), 0, $this->config->get('theme_' . $this->config->get('config_theme') . '_product_description_length')) . '..', 'price' => $price, 'special' => $special, 'tax' => $tax, 'minimum' => $result['minimum'] > 0 ? $result['minimum'] : 1, 'rating' => $result['rating'], 'href' => $this->url->link('product/product', 'path=' . $this->request->get['path'] . '&product_id=' . $result['product_id'] . $url) в файле category.twig <h4><a href="{{ product.href }}">{{ product.name }}</a></h4> <p>{{ product.description }}</p> <p>{% if attribute_groups %} <div class="tab-pane" id="tab-specification"> <table class="table table-bordered"> {% for attribute_group in attribute_groups %} <thead> <tr> <td colspan="2"><strong>{{ attribute_group.name }}</strong></td> </tr> </thead> <tbody> {% for attribute in attribute_group.attribute %} <tr> <td>{{ attribute.name }}</td> <td>{{ attribute.text }}</td> </tr> {% endfor %} </tbody> {% endfor %} </table> </div> {% endif %}</p> В итоге все шрифты - иероглифы, атрибутов тоже не видать
×
×
  • 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.