Magento Expert Forum - Improve your Magento experience

Results 1 to 10 of 10

What is codePool in Magento?

  1. #1
    Junior Member balwant's Avatar
    Join Date
    Jul 2014
    Posts
    107
    Thanks
    1
    Thanked 5 Times in 5 Posts

    Default What is codePool in Magento?

    codePool is a tag which you have to specify when registering new module in app/etc/modules/Company_Module.xml

    There are 3 codePools in Magento: core, community and local, which are resided at app/code/ directory.

    Core codePool is used by Magento core team, Community is generally used by 3rd party extensions and Local codePool should be used for in-hour module development and overriding of core and community modules for custom requirement.
    So in short, codePool helps Magento to locate module inside app/code/ for processing.

    More information visit : www.ilovemage.com

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Aug 2014
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I learnt today .great!

  3. #3
    Junior Member
    Join Date
    Jul 2014
    Location
    India
    Posts
    99
    Thanks
    3
    Thanked 4 Times in 3 Posts

    Default

    I also learn today really .......

  4. #4
    Junior Member
    Join Date
    Feb 2015
    Posts
    89
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    I learnt today .nice!

  5. #5
    New member
    Join Date
    Jul 2015
    Location
    Punjab
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Basically in magento, we need to define code pools so that Magento can understand path to find files for extensions/ custom functionality. The motive of code pools is to keep the magento core separate from modification either by us or 3rd party extensions.

    Magento has three different codepools:

    1. Core
    2. Community
    3. Local

    Name:  code-pool-magento.png
Views: 1027
Size:  20.2 KB

    CORE:
    Core folder contains all of the base classes where Magento gets its flexibility and functionality from. It is suggested not to change any code in core files as while upgrading to latest version of magento all files will overwrite.

    COMMUNITY:
    Community folder belongs to community developers. All 3rd party extension installed extension files resides in community folder in magento. So, if you have installed any extension in magento, it must be in app/code/community/ only.

    LOCAL:
    If you are a Magento developer & have an intend to change the logic functionalities, blocks or methods, copy the necessary folders from the Core pool to Local pool, you can use Local folder. If you want to override Magento extensions, and do whatever you are inclined to do.

  6. #6
    Junior Member
    Join Date
    Aug 2016
    Posts
    75
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Thanks for sharing great information about codepool, Great learning.

    adding some few topics about codePool,
    Codepool is a tag of xml file. There are 3 types of codepool
    1, Core which is developed by magento core developer
    2, community which is used by 3rd party extensions - open for all developers
    3, Local- If you have a magento site, your extensions will be there in local.

  7. #7
    Junior Member Bizmagestore's Avatar
    Join Date
    Apr 2014
    Location
    India
    Posts
    497
    Thanks
    1
    Thanked 27 Times in 27 Posts

    Default

    Codepool is a tag of xml file. There are 3 types of codepool
    1) Core which is developed by Magento core developer
    2) Community which is used by 3rd party extensions - open for all developers
    3) Local- If you have a Magento site, your extensions will be there in local.

  8. #8

  9. #9
    Junior Member knowband.plugins's Avatar
    Join Date
    Jul 2016
    Location
    Noida, India
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Codepool is a tag which we use whenever we add any new module to specify the pool in which its code is lying. There are three types of codepool

    1. Community
    2. Core
    3. Local

    1. Community:- This pool belongs entirely to community developers. All the third party modules lies in this pool. So if you have installed any extension, it must be in app/code/community/ only.

    2. Core:- This pool stores all the core functionality of magento that makes Magento so powerful, flexible. It is not recommended to make any change in it as it may cause problem while upgrading magento.

    3. Local:- if you have your own Magento-based store and want to make everything by yourself or you are a Magento developer and have a purpose to change the logic somehow, local pool is the place where everything should be done

    By default local is loaded first then community then core.


    Regards,

    Knowband Plugins | Buy Best Magento Extensions

  10. #10
    Junior Member
    Join Date
    Oct 2016
    Posts
    88
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Basically In any Magento Extensions we need to define code pools so that Magento can understand where to Find Files for that extensions.

    Magento has three different codepools:
    Community (app/code/community): All extension that we install from Magento Connect that will be found in Folder
    Core (app/code/core): All existing feature of Magento code exists in this Folder.
    Local (app/code/local): This code pools also for community developers as well as store owners who want to make their work by their own.
    Optomize your OnPage and Get High Rank Google With - this toolkit - Serplify Pro Review

    Igloo Page Builder Create your Landing page and Sales Page for Page Builder - Buy it and Get Special Gift
    Feedback software for Small business- Convertifire Review - Bonus Free

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •