O
O
Orya2016-08-10 16:48:56
opencart
Orya, 2016-08-10 16:48:56

How to calculate variable in opencart?

I started working with opencart and most templates are created with their own modules, where it is not always possible to display content the way you want. So I wanted to try to directly display modules through controllers, but I can’t calculate variables to stupidly insert a module. guide or something, otherwise I recently downloaded the topic, I really liked it, but the footer is only edited manually, I would gladly do everything myself, but I can’t stupidly make an input without knowing the variable.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Юрий Татаркин, 2016-08-13
@tomasoyer

1. перечитайте что написали перед тем как отправлять. Непонятно же ни чего.
2. У каждого Шаблона (foter.tpl, header.tpl и так далее ) в 90 % случаев есть свой контроллер называющийся аналогично. Все переменные для шаблона создаются там и пишутся в массив data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question