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

giorno

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

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

giorno's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Артём, спасибо за быстрый ответ! Тут такая штука, я смотрю готовый проект, а там $custom_text задан через модифицированный контроллер /system/modification/catalog/controller/product/product.php, и после обновления модификаторов (обновления кеша), этот контроллер будет перезаписан, и строки исчезнут! Соответственно их правильно задать в /catalog/controller/product/product.php и они даже после обновления модификаторов останутся. Был не в курсе, что файлы перезаписываются ) Ещё раз спасибо!
  2. Добрый день! Нужно на странице товара вывести текст, с возможность переключения языков. Добавляю в файлах /catalog/language/russian{english}/product/product.php переменные с текстом типа: $_['custom_text'] = 'Custom text'; Добавляю в файле /catalog/view/theme/theme600/template/product/product.tpl вывод переменных: <p><?= $custom_text ?></p> Но видимо этого не достаточно, так как получаю ошибку: Notice: Undefined variable: custom_text in /... Прошу подсказать
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.