Quick question about open cart, where are extension status and position set? I can see in the code
$postion = $this->config->get($extension . '_position');
and also
'status' => $this->config->get($extension . '_status')
However I can’t see where these are defined?
At first, look into your extension file ( for example ‘payment/free_checkout.php’) and search for something like that
This is where settings stored into database ( you can go deeper into setting model, if you want )
After that, open admin/index.php and look at lines 38 – 48.
You can see, system gets data from database and store data into config object.