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

kickass77

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

kickass77's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Здравствуйте. Пытаюсь сделать вывод текста при существующей и отсутствующей опции, но условие срабатывает не до конца. {% if option.type == 'file' %} {%if option.required %} <p>Нужно</p> {%else%} <p>Не нужно</p> {% endif %} {% else %} <p>Опция отсутствует</p> {% endif %} Условие с выводом сообщений "Нужно" и "Не нужно" - работают. Отключаю опцию для товара, но текст "Опция отсутствует" не выводится. Почему? OpenCart 3X, файл template/product/product.twig
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.