Answer the question
In order to leave comments, you need to log in
How to convert string in prestashop 1.7?
I love Prestashop. Here are some gems all around:
{l s='Filter By' d='Shop.Theme.Actions'}
In order not to break the Moscow - maybe someone knows: how to convert such a construction into a regular variable? I need to convert the output in one place. "Weight" is displayed - I want to replace it with "Height" conditionally. In only one place, so I will not touch the translations.
Answer the question
In order to leave comments, you need to log in
$this->title = $this->module->trans('My module title', [], 'Modules.Mymodule.Something');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question