P
P
pcdesign2016-07-04 14:25:46
Magento
pcdesign, 2016-07-04 14:25:46

How to call a function in templates in Magento?

Tried to read. I didn’t understand anything, some xml, something needs to be written somewhere.
I feel like a comic book character .
For example, I have a function:

function helloWorld() {
        return 'hello world';
}

What do I need to do to contact her in temlets?
You can show it step by step.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imdeveloper, 2016-07-05
@pcdesign

Where is your function?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question