Page 1 of 1

How to Disable Module without Uninstall

Posted: Fri Jun 20, 2014 12:35 pm
by xemox
Dear Opencart Developer,

I have two template, desktop template and mobile template (by OMTEX). How to disable quick checkout module (return to original checkout) only for specific template while other template can still using it.

Re: How to Disable Module without Uninstall

Posted: Fri Jun 20, 2014 2:16 pm
by agrimabo
I suggest using the variable:

$this->config->get('config_template')

for example:

Code: Select all

if ($this->config->get('config_template') == 'default') {

//do this

}