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

Grishkin

Newbie
  
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

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

Grishkin's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Прикольно, классное решение, я в итоге поставил модуль отзывов и автор мне всё настроил.
  2. Спасибо! Помогло, отзывы появились, но при нажатии перебрасывает в карточку товара, а не на отзывы.
  3. Почему-то не работает в catalog\controller\product\category.php добавил $data['products'][] = array( 'reviews' => $result['reviews'], '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) ); в catalog\view\theme\default\template\product\category.twig {% if product.rating %} <a href="{{ product.href }}#tab-review"><i class="fa fa-comment"></i> {{ product.rating }}</a> <div class="rating"> {% for i in 1..5 %} {% if product.rating < i %} <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-2x"></i></span> {% else %} <span class="fa fa-stack"><i class="fa fa-star fa-stack-2x"></i><i class="fa fa-star-o fa-stack-2x"></i></span>{% endif %} {% endfor %} </div> {% endif %} </div>
  4. Добрый день, подскажите, как сделать, что бы количество отзывов было видно в категории и при клике перебрасывало на страницу отзывов товара ? Если кто-то поможет, готов оплатить труд.
Guest
×
  • 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.