Once you install Opencart you will be able to see following folder structure created under root of Opencart application. Ultimately it is a web application only and if you wants to do customization on top of out of box functionalities it is very important to understand how it is packaged as an application. To understand that we need to study folder structure of that application. So, here I have tried to explain that briefly.
Once you install Opencart you will be able to see following folder structure under root folder of your installation.
As you can see there are four main folders.
admin : Most of your opencart administration feature related code resides here.
catalog: All front end related code resides here. So, if you want to see code related to any of the function in front end store this is the place to look for.
image: As name suggest this is where all images used across the store are stored.
system: This is where core of opencart application resides. You will be able to find all libraries , cache, error logs etc.. into this folder. All core features related code is located here.
Apart from this you will also see few other files lying directly under root folder. Each one of them contain different type of details. Ex. .htaccess.txt will be used when you want to enable SEO related features for your store. Then config.php contains all configurations related to store.
- .htaccess.txt :used when you want to enable SEO related features for your store.
- config.php: contains all configurations related to store.
- crossdomain.xml : Used to enable cross domain access.
- index.php : Used as starting point for application load.
- php.ini: It contains few miscellaneous configurations related to application behavior.
So, this is brief overview about opencart folder structure. We will get more details on each on of them in upcoming post.