Page 1 of 1

[v3.x - concept] - Extend multistore config for extensions

Posted: Fri Jun 28, 2019 9:16 am
by diegospm
Hi Guys,

I'm developing an extension and thinking about it for OC native extensions.

Why not extend multi-store configurations for each extension?

For example:

Code: Select all

$this->model_setting_setting->editSetting('payment_free_checkout', $this->request->post);
it could be:

Code: Select all

$this->model_setting_setting->editSetting('payment_free_checkout', $this->request->post, $store_id);
I know it would be necessary to modify the entry in the set method in the startup class, but with that we could use a different extension configuration for each store.

Or is this already possible with the OC native extensions?

Re: [v3.x - concept] - Extend multistore config for extensions

Posted: Sat Jun 29, 2019 5:14 am
by straightlight
You could also create a Pull Request on Github Opencart and see what comes up about this concept.