I want to add more Positions for modules. How can I add a new module position in opencart 2?
Here, I like this information. but, it is work only for OpenCart older vers
You can achieve this by modifying the following core file.
admin/view/template/design/layout_form.tpl add your new position in this select tag
and also in this method at the bottom of the file
function addModule() {
And then you have to add a template and a controller in catalog/view/theme/default/template/common you can use the same code as it is in content_top.php & content_top.tpl, just rename the file as your new position name.
And then in Home controller or any other page where this position is required, you have to add
$data['new_position'] = $this->load->controller('common/new_position');
After adding it to controller, you need to add it to the template files. Add to all the page templates you want to show the custom position on.
For example, to show the position on the home page, you'll add to catalog/view/theme/YOUR_THEME/template/common/home.tpl