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

Linderov

Newbie
  
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Linderov

  1. Доброго времени суток! Вопрос касательно изменения названий доп. полей в карточке товаров остается открытым. В языковых файлах ничего нет. Подскажите, пожалуйста, где искать
  2. Подскажите, пожалуйста, как изменить названия дополнительных полей, выводимых в карточке товара? Ean, jan не могу найти в языковых файлах, хоть убейте Open cart 3
  3. Всем спасибо! Оказалось, что нужно сделать так: <div class="container"> {% for product in products %} <div class="box"> <div class="image"><a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" /></a></div> <h4><a href="{{ product.href }}">{{ product.name }}</a></h4> <div class="price">{{ product.price }}</div> </div> {% endfor %} </div>
  4. Здравствуйте! Возможно кто-то сможет мне подсказать... Хочу сделать вывод товаров на главной через latest.twig адаптивным с помощью FlexBox. Вроде бы все сделал правильно и товары выстраиваются в одну строку в зависимости от размера экрана, но как только обрамляю необходимые блоки тегами {% for product in products %} и {% endfor %}, flexbox перестает работать и блоки товаров выстраиваются один под одним. Если можно, подскажите, пожалуйста, как это исправить <div class="container"> <div class="box"> {% for product in products %} <div class="image"><a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" /></a></div> <h4><a href="{{ product.href }}">{{ product.name }}</a></h4> <div class="price">{{ product.price }}</div> {% endfor %} </div> </div> .container { height:auto; display:flex; flex-wrap:wrap; max-width:1000px; flex-direction:row; justify-content:center; } .box { flex-basis:300px; } .price { color: #000000; } Вот так не работает
×
×
  • 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.