Answer the question
In order to leave comments, you need to log in
Passing parameters to include script in Opencart?
In the controller, I connect the script via $this->document->addScript(url) The script initializes the js file upload widget. In the widget parameters I want to pass max. allowable number of files (taken from the admin panel settings). How can this be done using php? If they were connected in the body of the template, then there are no questions, but in this case, how?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question