Interview Questions

AJAX Interview Questions Android Interview Questions Angular 2 Interview Questions AngularJs Interview Questions Apache Presto Interview Questions Apache Tapestry Interview Questions Arduino Interview Questions ASP.NET MVC Interview Questions Aurelia Interview Questions AWS Interview Questions Blockchain Interview Questions Bootstrap Interview Questions C Interview Questions C Programming Coding Interview Questions C# Interview Questions Cakephp Interview Questions Cassandra Interview Questions CherryPy Interview Questions Clojure Interview Questions Cobol Interview Questions CodeIgniter interview Questions CoffeeScript Interview Questions Cordova Interview Questions CouchDB interview questions CSS Buttons Interview Questions CSS Interview Questions D Programming Language Interview Questions Dart Programming Language Interview Questions Data structure & Algorithm Interview Questions DB2 Interview Questions DBMS Interview Questions Django Interview Questions Docker Interview Questions DOJO Interview Questions Drupal Interview Questions Electron Interview Questions Elixir Interview Questions Erlang Interview Questions ES6 Interview Questions and Answers Euphoria Interview Questions ExpressJS Interview Questions Ext Js Interview Questions Firebase Interview Questions Flask Interview Questions Flex Interview Questions Fortran Interview Questions Foundation Interview Questions Framework7 Interview Questions FuelPHP Framework Interview Questions Go Programming Language Interview Questions Google Maps Interview Questions Groovy interview Questions GWT Interview Questions Hadoop Interview Questions Haskell Interview Questions Highcharts Interview Questions HTML Interview Questions HTTP Interview Questions Ionic Interview Questions iOS Interview Questions IoT Interview Questions Java BeanUtils Interview Questions Java Collections Interview Questions Java Interview Questions Java JDBC Interview Questions Java Multithreading Interview Questions Java OOPS Interview Questions Java Programming Coding Interview Questions Java Swing Interview Questions JavaFX Interview Questions JavaScript Interview Questions JCL (Job Control Language) Interview Questions Joomla Interview Questions jQuery Interview Questions js Interview Questions JSF Interview Questions JSP Interview Questions KnockoutJS Interview Questions Koa Interview Questions Laravel Interview Questions Less Interview Questions LISP Interview Questions Magento Interview Questions MariaDB Interview Questions Material Design Lite Interview Questions Materialize CSS Framework Interview Questions MathML Interview Questions MATLAB Interview Questions Meteor Interview Questions MongoDB interview Questions Moo Tools Interview Questions MySQL Interview Questions NodeJS Interview Questions OpenStack Interview Questions Oracle DBA Interview Questions Pascal Interview Questions Perl interview questions Phalcon Framework Interview Questions PhantomJS Interview Questions PhoneGap Interview Questions Php Interview Questions PL/SQL Interview Questions PostgreSQL Interview Questions PouchDB Interview Questions Prototype Interview Questions Pure CSS Interview Questions Python Interview Questions R programming Language Interview Questions React Native Interview Questions ReactJS Interview Questions RequireJs Interview Questions RESTful Web Services Interview Questions RPA Interview Questions Ruby on Rails Interview Questions SAS Interview Questions SASS Interview Questions Scala Interview Questions Sencha Touch Interview Questions SEO Interview Questions Servlet Interview Questions SQL Interview Questions SQL Server Interview Questions SQLite Interview Questions Struts Interview Questions SVG Interview Questions Swift Interview Questions Symfony PHP Framework Interview Questions T-SQL(Transact-SQL) Interview Questions TurboGears Framework Interview Questions TypeScript Interview Questions UiPath Interview Questions VB Script Interview Questions VBA Interview Questions WCF Interview Questions Web icon Interview Questions Web Service Interview Questions Web2py Framework Interview Questions WebGL Interview Questions Website Development Interview Questions WordPress Interview Questions Xamarin Interview Questions XHTML Interview Questions XML Interview Questions XSL Interview Questions Yii PHP Framework Interview Questions Zend Framework Interview Questions Network Architect Interview Questions

Top 30 Magento Interview Questions for 2022

1) What is Magento?

Magento is an open-source content management system. It is used to create e-commerce websites. It is developed by Varien ,Inc, a US private company headquartered in Culver City, California. It provides online merchants with unprecedented flexibility and control over the look, content and functionality of their e-Commerce store.

2) What architecture Magento use?

Magento uses MVC (Model View Controller) architecture.

3) What are the various edition of Magento?

Magento have various edition that are given below:
  • Magento Community Edition
  • Magento Enterprise Edition
  • Magento Professional Edition
  • Magento .go

4) What are the disadvantage of Magento?

There are various disadvantage of Magento:
  • It uses larger disk space and memory.
  • It takes much time to build the customized functionality.
  • It is very slow compared to other E-commerce sites.
  • It needs proper hosting environment, if the hosting environment is improper the user can face the problems.

5) Why Magento is used?

Magento is used because:
  • It is open sources E-commerce software.
  • It is easy accessible and offer companies to build business.
  • It provide the searching and sorting of products in different ways.
  • It is easy to integrate with third-party sites which are needed to run effective E-commerce website.
  • It provides customer to order or purchase number of multiple products.

6) How can we enhance Magento performance?

We can enhance the Magento performance by performing following tasks:
  • Disable the Magento log
  • Disable any un-used modules
  • Magento caching
  • Optimize image
  • Optimize server
  • It uses CDN (Content Delivery Networks)
  • Put Stylesheets at the top
  • Put script at Bottom
  • Avoid CSS Expressions (eg 100/2)

7) Which technology Magento use?

Magento uses multiple technologies that are given below:
  • PHP (Zend Framework)
  • MYSQL/MYSQLI and MongoDB (Database)
  • CSS
  • JavaScript
  • HTML

8) What are the differences between Mage::getModel () and Mage::getSingleetone() in Magento?

  • Mage::getModel(): It is used to creates new objects.
  • Mage::getSingleton(): It is used to find a new object if existing object is not created.

9) What are the basic features of Magento?

Magento has various features that are given below:
  • Reporting and Analytics
  • Product and Catalog Browsing
  • Customer Accounts
  • Oder Management
  • Payment
  • Site Management
  • Shipping
  • SEO( Search Engine Optimization) etc.

10) What are the limitations of Magento?

Magento faces various limitations that are given below:
  • Disable the Magento log
  • Combine external CSS/JS into one file
  • Disable any unused modules
  • MySQL Query Caching
  • Enable Magento caching
  • Enable Gzip compression
  • Optimize your image

11) What is EAV?

Magento EAV (Entity-Attribute-Value) data model is used to get flexibility for our data. It is a model entity but brings more complexity than relation table model.

12) How does Magento ORM works?

ORM stands for Object Relational Mapping. It is a programming language technique that is used to convert different types of data into objects and vice versa. There are two types of ORM:
  • Converts different types of data into objects.
  • Converts objects to various types of data.

13) How many tables will be created in EAV module in Magento?

EAV module will create six tables in database. These are given below:
  • module
  • module_datetime
  • module_decimal
  • module_int
  • module_text
  • module_varchar

14) What is the folder/file structure of Magento?

Magento follows the following project structure.

15) How CMS page is call in our Module's PHTML file?

We can use the following code for calling CMS page.
$this->getLayout ()→createBlock('cms/block')→setBlockId('blockidentifier')→toHtml();

16) How to run custom query in Magento?

Magento use given command to run custom query:
$db = Mage::getSingleton('core/resource')->getConnection('core_write');    

$result=$db->query('SELECT * FROM users where id=4');

17) How can we add/remove content from core's system.xml file in Magento?

In Magento, we can do this by overriding system.xml configuration file which is given below:
<config>  

     <sections>  

        <catalog>  

           <groups>  

              <frontend>  

              <label>Overriding Catalog Frontend in system config</label>  

              </frontend>  

            </groups>  

        </catalog>  

    </sections>  

</config>
<config>  

     <sections>  

         <payment>   

            <groups>  

              <cashondelivery>  

                   <fields>  

                    <!--changing cash on delivery payment method settings-->  

                    </fields>  

              </cashondelivery>  

          </groups>  

      </payment>  

    </sections>  

</config>

18) What are magic methods in Magento ?

Following are the magic methods of Megento:
_call()

_get()

_set()

_uns()

_has()

_isset()

_toString()

_construct() etc

19) Where do we write business logic in Magento?

We can write business logic inside the Model class of Magento.

20) What are the different modules of Magento?

Magento has three major module that are listed below.
  • Core modules
  • Commercial modules
  • Community modules

20) What are Polls in Magento?

Polls are used to get customer's opinions and performances, polls results appear in immediately after response it submitted.

21) How can we make Magento more secure for the client?

We can follow following instructions to make Magento more secure for the client:
  • Use a strong password and change them at regular interval.
  • Disable remote access to Magento Connect Manager.
  • Disable Downloader on production sites.
  • Restrict access to safe IP addresses.

22) Is it possible to have more than one grid in Magento?

Yes, it is possible. Magento supports multiple grid system.

23) How many design patterns in Magento ?

Magento supports various design patterns that are given below:
  • Model View Controller Pattern
  • Front Controller Pattern
  • Factory Pattern
  • Singleton Pattern
  • Registry Pattern
  • Prototype Pattern
  • Object Pool Pattern
  • Iterator Pattern
  • Lazy Loading Pattern
  • Service Locator Pattern
  • Module Pattern etc.

24) How we can reset Magento file & Directory permissions?

We can reset Magento file & Directory to their default and secure permissions. the given following command are:
find . -type f -exec chmod 644 {} \;

find . -type d -exec chmod 755 {} \;

chmod +x mage

25) What are Magento product types?

  • Magento simple product: It is used for a single item without any specific selectable variations. For example, a pen, copy etc.
  • Magento grouped product: It is used for a combination of Magento simple product. For example, a pen and copy together.
  • Magento configurable product: It is used for a single item with specific selectable variations. For example, a pen with different color options.
  • Magento virtual product: It is used for a virtual item or non touchable item. For example, reservation, insurance etc.
  • Magento bundle product: It is used for a bundle of simple products. For example, laptop with various items such as processor, hard disk, RAM etc.
  • Magento downloadable product: It is used for online software items. For example, PowerPoint presentation, MP3 files, servers etc.

26) How many types of sessions are there?

There are three sessions in Magento:
  • customer session
  • checkout session
  • core session

27) What are the web hosting sites of Magento?

There are various web hosting sites of Magento:
  • SiteGround
  • BlueHost
  • HostGator
  • Inmotion
  • Arvixe
  • site5

28) What is Payflow Pro in Magento?

In Magento, the Payflow Pro is customizable payment gateway. It is used to manage the credit card transaction of merchant account.

29) What is WSDL?

WSDL stands for Web Services Description Language. It is used to describe the web Services and how to access them.

30) What database does Magento support?

Magento supports MySQL database.