You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today.

Opencart modul 2 na 3

Stručný návod ako upraviť modul Opencart 2.3 na Opencart 3.X

  1. tpl na twig previesť nástrojom https://phpzatwig.com/
  2. controller
    1. vymeniť .tpl za nic
    2. vymeniť token za user_token
    3. vymeniť $this->load->model(’extension/module’); za $this->load->model(’setting/module’);
    4. vymeniť $this->model_extension_module-> za $this->model_setting_module->
    5. vymeniť extension/extension za marketplace/extension
    6. vymeniť $this->config->get($this->config->get(’config_theme’) . ’_directory’) za $this->config->get(’theme_’ . $this->config->get(’config_theme’) . ’_directory’)