Build a module?

The structure of an extension, module in S-Cart includes:

When building a module / extension, the required structure is as follows:

app->Modules|Extensions ->GroupModule(ex:Payment,Shipping,..)->Controllers->ModuleName.php <- file is required and the file name must be correct.

In addition, 

  • app->Modules|Extensions->GroupModule->Models|Providers -> no require
  • app->Modules|Extensions->GroupModule->Route->ModuleName.php <- Required file name is correct if the file exists.
  • resource->lang->en|vi|..->Modules|Extensions->GroupModule->ModuleName.php <-Required file name is correct if the file exists.
  • public->images->Modules|Extensions->GroupModule->ModuleName.png <- Required file name is correct if the file exists.

Manage and install Modules / Extensions:

- In admin, access to your-domain/system_admin/modules|extensions/GroupModule to manage