Перейти к содержанию
View in the app

A better way to browse. Learn more.

Русскоязычное сообщество Opencart

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Psaperm

Пользователь
  • Зарегистрирован

  • Посещение

Весь контент Psaperm

  1. Но у меня и в дефолтном шаблоне после установки ничего не изменилось: <file path="catalog/view/theme/lightshop/template/product/product.twig"> ... <h1>{{ heading_title }}</h1> <ul class="list-unstyled"> {% if manufacturer %} <li>{{ text_manufacturer }} <a href="{{ manufacturers }}">{{ manufacturer }}</a></li> {% endif %} <li>{{ text_model }} {{ model }}</li> {% if reward %} <li>{{ text_reward }} {{ reward }}</li> {% endif %} <li>{{ text_stock }} {{ stock }}</li> </ul> {% if price %} <ul class="list-unstyled"> {% if not special %} <li> <h2>{{ price }}</h2> </li> {% else %} <li><span style="text-decoration: line-through;">{{ price }}</span></li> <li> <h2>{{ special }}</h2> </li> .... А ведь должно быть так?: <file path="catalog/view/theme/lightshop/template/product/product.twig"> <operation> <search><![CDATA[<h2>{{ price }}</h2>]]></search> <add position="replace"><![CDATA[ {% if ((price_value is defined and price_value == 0) or (price_value is not defined and price == 0)) %} <h2>{{ text_no_price }}</h2> {% else %} <h2>{{ price }}</h2> {% endif %} ]]></add> </operation>
    Установил модуль. Работает прекрасно.
  2. Здравствуйте. Подскажите - какие файлы редактировать.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.