Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference of extension and module in opencart?

Tags:

opencart

I am new to opencart, and I am confused about the terminology between extension and module in opencart, could anyone explain to me?

like image 838
Ron Avatar asked Sep 29 '22 15:09

Ron


2 Answers

Extensions: are used to give the additional functionality to the CMS In Opencart, You have the extensions like payment, modules, totals etc.

Modules : this is the special type of extensions which is used to show the information at the front store or adding the functionality that cannot fit into other extensions types read this article for more information http://www.inmotionhosting.com/support/edu/opencart/admin-tools/what-are-opencart-extensions-and-modules

For Example: Payment extensions : All payment extension have only one work to process the payment so it is further categorized as payment extensions. and second thing all payment gateways should be list at checkout page so Opencart makes a special category for them same for total extensions

Modules: We cannot say what one module can do If you want to show the user just welcome message you can make the module for it and add it to any layout

like image 103
siddhesh Avatar answered Oct 07 '22 19:10

siddhesh


Modules: blocks of HTML that have their own config in Extensions > Modules and can be applied to Layout Templates to appear on the left/right/top/bottom of the page. The category left nav is a module.

Extensions: zip files containing an /upload folder which contains files to be uploaded to the web root of your site and can include, new files, new themes, new modules and vQmods. Extensions can add pretty much any functionality to the store and often have an area in the admin for settings and often but not always make changes to the front-end of the store.

More info here: http://www.antropy.co.uk/blog/what-is-the-difference-between-modules-and-extensions-in-opencar/

like image 40
Paul Feakins Avatar answered Oct 07 '22 19:10

Paul Feakins