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

DanilaWW

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

1,107 profile views

DanilaWW's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Reacting Well Rare

Recent Badges

3

Reputation

  1. Не уверен, что это еще актуально, но: Это: $descr_plaintext = strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')); Замени на: $descr_plaintext = html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'); Т.е. попросту убери стрип_тагс
  2. Правим шаблон страницы товара: catalog/view/theme/ВАША_TEMA/template/product/product.tpl Находим там кусок кода (в других темах могут быть отличия, так что если тем не дефолтная, ищите по созвучию): if (data.success) { $('#review-title').after('<div class="success">' + data.success + '</div>'); $('input[name=\'name\']').val(''); $('textarea[name=\'text\']').val(''); $('input[name=\'rating\']:checked').attr('checked', ''); $('input[name=\'captcha\']').val(''); } после этой строки (т.е. в конец, перед закрывающей скобкой } ): $('input[name=\'captcha\']').val('');Добавляем: $('#review').load('index.php?route=product/product/review&product_id=<?php echo $product_id; ?>'); Сохраняем, перезаливаем, проверяем страницу. Вуаля, все работает.
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.