How to create a Magento 2 extension

How to create a Magento 2 extension

Happy to see you guys again!

In this blog post, we will learn how to create Magento 2 extension step by step and basic knowledge required to setup a module. we will also introduce the coding of Magento 2 in the form of a “Hello Developer” style. This blog post also includes some basic functionality, covering as many development aspects as possible in this case.

Lets consider module with Namespace is Magewallet and Module Name is HelloDeveloper. Lets list down all the files require for this extension.

1)app/code/Magewallet/HelloDeveloper/registration.php
2)app/code/Magewallet/HelloDeveloper/composer.json
3)app/code/Magewallet/HelloDeveloper/etc/module.xml
4)app/code/Magewallet/HelloDeveloper/etc/frontend/routes.xml
5)app/code/Magewallet/HelloDeveloper/Controller/Index/index.php
6)app/code/Magewallet/Helloworld/View/frontend/layout/hellodeveloper_index_index.xml
7)app/code/Magewallet/HelloDeveloper/Block/HelloDeveloper.php
8)app/code/Magewallet/HelloDeveloper/View/frontend/templates/hellodeveloper.phtml

First we will create registration file at app/code/Magewallet/HelloDeveloper/registration.php file

Now, create a composer.json file in app/code/Magewallet/HelloDeveloper/ folder as per below.

now create module.xml file in app/code/Magewallet/HelloDeveloper/etc

Create a frontend router in app/code/Magewallet/HelloDeveloper/etc/frontend/routes.xml

here the router ID shown which router we will use either frontend or adminhtml. Pay attention that the front name is the first part of the URL and it should be unique.

Create a Controller action

Create the file index.php in app/code/Magewallet/HelloDeveloper/Controller/Index.

Create a layout file at app\code\Magewallet\Helloworld\View\frontend\layout\hellodeveloper_index_index.xml

Create block file app/code/Magewallet/HelloDeveloper/Block/HelloDeveloper.php

Create a template file app/code/Magewallet/HelloDeveloper/View/frontend/templates/hellodeveloper.phtml

Active Magewallet_HelloDeveloper extension

Open Command line in folder root of Magento and run commands

In order to cross check the routing and controller access below URL.
http://localhost/magento2/hellodeveloper/index/index

You have known all the steps to write a simple extension in Magento 2. if you have any questions about this steps of Magento 2 extension development, please ask them in comments.
Enjoy Magento 2! Enjoy Magewallet!!

Top Magento 2 Extensions 2016

Magento 2 has earned worldwide popularity in the online marketplace as an e-commerce web application development platform since its launch. Are you looking for the top Magento 2 extensions for 2016 used by store owners? Well, then you’re in the right place. This approach helps to extend functionality of the online shops and guarantees business with high returns and optimized profits.

In this article, our expert team has hand-picked the best Magento 2 extension of 2016 for starting out a Magento 2 store. Most of the time you will run into an issue after a while which a module will fix for you. Choosing the best extensions for your Magento 2 store will help make your to deliver a better experience for your users as well.

Magento 2 Mega Menu PRO

Magento 2 Mega Menu extension help you to create dynamic navigation menu ever.

  • Fastest Load Time, Cache Supported
  • Drag & Drop Intuitive Interface
  • User-friendly Interface & Enhanced UX / UI
  • Fast Ajax Load & Live Preview
  • Skin Builder: Custom Design With Ease
  • 16 Premade Menus & Create Unlimited Menu Possibilities
  • One click to Import or Export Demo
  • 786 icons included by Font Awesome
  • Instant Import Store Categories
  • Horizontal and Vertical Structures
  • Built-in LESS Stylesheets
  • Show horizontal & vertical menu at the same time
  • Fully Compatible with Porto Theme & Ultimo Theme
  • Mobile Menu: Off Canvas Menu & Accordion Menu, Drilldown Menu
  • Widget Support or add code to file XML on any position
  • Multiple Animations Effects Supported
  • Place mega menu on any position
  • Compatible with Magento EE

Buy Now

Page Builder Extension for Magento 2

  • Time & Money Saving
  • Drag & Drop Interface
  • Work with any Magento Themes
  • 50+ Widgets Supported
  • Responsive Design Options
  • Full amazing controls
  • Create Unlimited Layouts
  • Block Builder
  • Bootstrap Grid View System
  • Easy To extend with 3rd Party extensions
  • Cms Page Builder
  • CSS Skin Builder
  • Schedule Time To Display Your Page on Frontend
  • Enhance page load time incredibly
  • Live Preview For Easier Editing

Buy Now

Form Builder for Magento 2

If you are looking for an easy to use tool like Google Form, our Magento 2 Form Builder is exactly what you need. The Form Builder comes with drag n drop feature and user friendly interface so that you can create any form such as magento 2 contact form in the most easy way.

  • Drag & Drop Custom Form
  • Visual Content Creator
  • Fully responsive and 100% AJAX based front-end design
  • Multiple Input Types and file type
  • Create Unlimited forms
  • Customizable form appearance
  • Design options: Background, Font, Icon, Border
  • Automatic email notifications
  • Add to Any Position
  • Customizable form appearance
  • Export Data To CSV
  • Multiple Input Types/ form field: Text, Paragraph, Checkbox, Multiple Choice, Date, Drop down, Time, Number, Website, Email, Price, Address, Rating, Google Map, Subscription, Dynamic Dropdown, File Upload, Section Break, etc.
  • Support 14 pre-made form templates
  • Add new option: Custom template
  • Easy to edit Before Form & After Form Content
  • Recaptcha Security, Spam Protection
  • Show Form In Any Position + Multiple Display Types
  • Customizable Layout with Bootstrap Grid
  • Ajax Effects When Submitting Form
  • Show Results With List
  • [New] field Custom Html

Buy Now

Magento 2 Store Locator

LOF magento 2 store locator extension comes with advanced search criteria and nice & neat user interface, the customer can find the nearest store and direct in just a few clicks.

  • Multiple beautiful templates for your choice.
  • Show store locations with a nice & neat user interface
  • Showcase multiple stores in one single map with ease
  • Search stores with highest accuracy results
  • Search for stores easily in various ways
  • Search store location with Google Map suggestion
  • [HOT] Search by current location
  • Search the nearest store
  • Showcase store’s information in neat & clean layout
  • Show store direction
  • Get store’s details in 1 click
  • Display featured product in store’s detail
  • Design option: custom design for each store
  • Social networks integrated
  • Customize locator page
  • Import store locations by CSV/ Json file
  • Integrated image gallery extension
  • Optimized for SEO

Buy Now

Magento 2 Layered Navigation

Are you looking for a fast, user-friendly navigation system which can allow your customers to browse your product catalog comfortably and impressively? Then, our new Layered Navigation Extension can satisfy you at the very first sight with its multiple filters, ajax load and user-friendly interface.

  • Fully Responsive & Mobile Optimized
  • Fast Ajax Product Filter
  • Flexible Vertical & Horizontal Filter
  • Apply Multiple Filter At Once
  • Layered Navigation On Homepage and CMS Page
  • Select multiple values at the same time
  • Price Slider & Numeric Filter
  • Remove All Selected Options At Once
  • Filter Products By Stock Availability
  • 2 Ways To Apply for Filter support: No catalog reloads until all filters selected, Reload catalog after a filter is applied ( Coming Soon)
  • Filter Product By Brand 
  • Extra Filter: new product, sale product, special product
  • Filter products by star ratings
  • Fully compatible With Free Brand Extensions
  • Price in Radio and Checkbox
  • Multiple Languages and RTL Languages
  • Multiple Stores Supported

Buy Now

Magento 2 Reward Points

“90% of all customers exchange their reward points during the checkout”. Have you offered reward points for your magento 2 stores? As you may know Reward Points is an effective marketing tool for you to engage shoppers and
turning old customers for new purchase over and over. Drive more sale and attract returning customers to your store.

  • Your visitors can be rewarded for multiple ways
  • [NEW] Earn Point by Refer to Friend
  • Earn points right after placing orders at your store
  • Spending points with ease: multiple ways supported
  • Track point’s balance, transaction, history in ” My account”
  • Add reward point for any specific product & multiple products
  • Freely Set Different Spending Point Rate & Earning Point Rate
  • Product based rule, cart-based rule, behavior-based rule, catalog based rule
  • Point transaction management
  • Set Max points earned or spent for each product
  • Refund By Points & Advanced Report 
  • Export Point Easily by CSV, Excel XML file
  • How To Spend Point & How To Earn Point Guide
  • Get Discount Code if Customer doesn’t have account yet
  • Send Notification Email & Auto Update Info If There are any changes.
  • Create orders for customers in backend using points
  • Point With Expiry & Set Duration for Point
  • You can hide price for the product

Buy Now

Magento 2 Advanced Reports

This is the fastest reporting tool for the order-heavy stores. No matter how heavy your store is, our magento 2 advanced reports will help you to monitor your business with ease.

  • 28+ Report Types to explore sales over a period of time, break it down by category and product.
  • Comprehensive Sale Overview
  • Report drill down to explore data fast and easily
  • Advanced Report to trace your sales performance in a real-time mode
  • Visual graphs ( bar, pie, line..) to illustrate trends
  • Option to filter data for different dates and days
  • Provides with Google Analytics-like visualized sales data metrics and charts
  • Clear Backend Interface
  • Extraordinary Useful Magento 2 Reports
  • Multiple skins
  • Customize chart display
  • Equipped with a profit-calculating formula
  • Live support and documentation & video tutorials
  • 28+ Types REST API Discover Sales
  • REST API for Third Party Magento

Buy Now

Magento 2 Help Desk Extension

Utilize ticket system, bring a powerful and flexible solution for Store Support! With Magento 2 Help Desk Extension, it helps you to collect all request, inquiries, offline chat messages, email in one place. All messages will be assigned to the proper department without leaking information.

  • Live Chat With Many Customer At Once
  • Fast & Smart Workflow To Minimize Time Wasted
  • Fully Responsive On Mobile, Tablet, Laptop & Desktop
  • Offer Multiple Ways For Customer To Get Support
  • Create Unlimited Departments, Agents and Categories
  • Clear User-friendly Interface
  • Easy To Create Ticket & Fast Submit
  • Solve urgent tickets first based on Priorities
  • Check Ticket Status, Quick Reply or Close a ticket
  • Autosave history and easy to Check ticket history
  • Satisfaction Star Rating
  • Quick Responses With Answer Shortcut
  • Ticket auto-expiration & Auto-reminder
  • Assigning tickets to the right manager or department fast
  • Spam Protection
  • Advanced reports
  • Set Permission For Each Department
  • Tailored for Multistore installations
  • Connect With Mailboxes

Buy Now

Magento 2 Follow Up Email

Use trigger emails to engage and maintain your customer’s interest! Faster follow-ups will give you a better chance to nurture conversation and convert sales. Magento 2 Follow Up Email lets you send custom email based on customer activities. Use email marketing to increase conversion rate & drive more sales now.

You can send numerous emails based on customer activities, order status. For example, when customer change order status from pending to fail, the extension will inform them to reorder. Or after customer abandons their checkout on your site, you can send an email to give assistance. Besides, you can send email for customer birthday, abandon the cart, last customer login, customer subscribe to the newsletter, etc.

Secondly, instead of sending for individuals, by using magento 2 follow-up email you can send an email to many customers at the same time. For example, you can send a reminder email to customers who haven’t visit your site for a long time with the promotion.

Buy Now

These extensions are often overlooked but have proven to be one of the most useful extensions that any Magento 2 store owner needs. As of this time, these are the best collection of Magento 2 extension available. We will expand this list once new extensions release. So, be sure to bookmark and check back on this post regularly to find out what new extensions have been released by the extensions development companies.

Best article related to Magento 2 you may be interested in

Yes! please do not forgot to add comments if you have list of other useful extensions. We will surely update this list based on your suggestions.

Enjoy Magento 2! Enjoy Magewallet!!

Free Magento 2 Extensions

With the release of the new Magento 2 version there also are a lot of new extensions that store owners need install in their stores. If you are one of the store owner of Magento 2 then this article will help you to find best free extensions for Magento 2.

All of the extensions are developed by experienced and certified Magento Developers, so they are tested and high quality. Let’s take a quick look at below features.

New Order Notification for Magento 2

New Order Notification for Magento 2 extension helps admin to start getting notifications regarding new order right away.

The whole idea behind the extension was to fulfill the request where you as a merchant wish to have your store personel instantly notified when customer places an order on your store.

Why should use New order admin notification

New order admin notification is a Magento 2 extension that allows you to receive emails notifying about new orders. No longer will you have to log in your sites to check new orders constantly.

Download Now

Most Viewed Products for Magento 2

Having ‘Most Viewed Products’ on your website will help customer to easily make choice in selecting the best products.

This Most Viewed Products Widget extension simply provides an extra feature to Magento 2 store to show ‘Most Viewed Products’ at any place through out the site by adding widget. Store owner is also provided with separate settings. Having a ‘Most Viewed Products’ section on every page of your website or in the sidebar makes it easy for customers to choice and complete the sale.

Why you should install?

Recent surveys suggest that customers are often attracted by most viewed products and buy them. Having ‘Most Viewed Products’ on your website will help customer to easily make choice in selecting the best products. It also increase the engagement time of a customer and hence revenue and profit of the store.

Download Now

Bestsellers Product Widget for Magento 2

Bestsellers Product Widget provides the best option for placing best selling products anywhere on your store.

Bestsellers Product Widget provides the best option for placing best selling products anywhere on your store. The extension allows the store visitors to keep updated on the fast and best selling products and gives confidence to the viewers to buy those products. This Bestsellers Products Widget extension shows system generated best selling products as best sellers. Store owner can define the number of products to show as bestsellers.

Download Now

Google CSE Integration for Magento 2

Replace the default Magento search functionality with custom search engine powered by Google.

Boost conversion with the integration of best custom search engine powered by Google. Google has long been providing the facility for webmaster to integrate site-specific Google search engine into their websites, including the ones based on eCommerce platforms like Magento. This search engine can be configured to return search results only from one or more websites. Therefore it acts like a personal website search engine powered by Google.

Download Now

Blog Extension

Using this Free Magento 2 extension store owner can create a professional blog for Magento 2 store. Write awesome posts and place them to separate categories. Create relinks to your products and another posts to increase views and sales.

Download Now

Order Comments for Checkout for Magento 2

Order Comments for Checkout let your customers leave comments during the checkout process.

Download Now

Price Slider

Price slider is a featured extension which helps its users to easily access the price range of the products they wish to purchase. The slider grants its users the ease to set the filter of the desired products so that the users may not waste their time in looking for products which are not of their range.

Download Now

Best article related to Magento 2 you may be interested in

As of this time, these are the best collection of Free Magento 2 extension available. We will expand this list once new extensions release. So, be sure to bookmark and check back on this post regularly to find out what new extensions have been released by the extensions development companies.

Yes! please do not forgot to add comments if you have list of other useful extensions. We will surely update this list based on your suggestions. Enjoy Magento 2! Enjoy Magewallet!!

Must have Magento 2 Extensions

Are you looking for the must have Magento 2 extensions used by store owners? Well, then you’re in the right place. In this article, our expert team has hand-picked the best Magento 2 extension for starting out a Magento 2 store. Most of the time you will run into an issue after a while which a module will fix for you.

Choosing the best extensions for your Magento 2 store will help make your to deliver a better experience for your users as well.

Can You Do Without Extensions?

Probably not, because extensions are the building blocks of your Magento 2 store. They bring in the important functionality to your Magento 2 store. In fact, the repository of Magento 2 extensions increasing day by day to make the new platform rich in a real sense.

Magento 2 Mega Menu PRO

Magento 2 Mega Menu extension help you to create dynamic navigation menu ever.

  • Fastest Load Time, Cache Supported
  • Drag & Drop Intuitive Interface
  • User-friendly Interface & Enhanced UX / UI
  • Fast Ajax Load & Live Preview
  • Skin Builder: Custom Design With Ease
  • 16 Premade Menus & Create Unlimited Menu Possibilities
  • One click to Import or Export Demo
  • 786 icons included by Font Awesome
  • Instant Import Store Categories
  • Horizontal and Vertical Structures
  • Built-in LESS Stylesheets
  • Show horizontal & vertical menu at the same time
  • Fully Compatible with Porto Theme & Ultimo Theme
  • Mobile Menu: Off Canvas Menu & Accordion Menu, Drilldown Menu
  • Widget Support or add code to file XML on any position
  • Multiple Animations Effects Supported
  • Place mega menu on any position
  • Compatible with Magento EE

Buy Now

Page Builder Extension for Magento 2

  • Time & Money Saving
  • Drag & Drop Interface
  • Work with any Magento Themes
  • 50+ Widgets Supported
  • Responsive Design Options
  • Full amazing controls
  • Create Unlimited Layouts
  • Block Builder
  • Bootstrap Grid View System
  • Easy To extend with 3rd Party extensions
  • Cms Page Builder
  • CSS Skin Builder
  • Schedule Time To Display Your Page on Frontend
  • Enhance page load time incredibly
  • Live Preview For Easier Editing

Buy Now

Form Builder for Magento 2

If you are looking for an easy to use tool like Google Form, our Magento 2 Form Builder is exactly what you need. The Form Builder comes with drag n drop feature and user friendly interface so that you can create any form such as magento 2 contact form in the most easy way.

  • Drag & Drop Custom Form
  • Visual Content Creator
  • Fully responsive and 100% AJAX based front-end design
  • Multiple Input Types and file type
  • Create Unlimited forms
  • Customizable form appearance
  • Design options: Background, Font, Icon, Border
  • Automatic email notifications
  • Add to Any Position
  • Customizable form appearance
  • Export Data To CSV
  • Multiple Input Types/ form field: Text, Paragraph, Checkbox, Multiple Choice, Date, Drop down, Time, Number, Website, Email, Price, Address, Rating, Google Map, Subscription, Dynamic Dropdown, File Upload, Section Break, etc.
  • Support 14 pre-made form templates
  • Add new option: Custom template
  • Easy to edit Before Form & After Form Content
  • Recaptcha Security, Spam Protection
  • Show Form In Any Position + Multiple Display Types
  • Customizable Layout with Bootstrap Grid
  • Ajax Effects When Submitting Form
  • Show Results With List
  • [New] field Custom Html

Buy Now

Magento 2 Store Locator

LOF magento 2 store locator extension comes with advanced search criteria and nice & neat user interface, the customer can find the nearest store and direct in just a few clicks.

  • Multiple beautiful templates for your choice.
  • Show store locations with a nice & neat user interface
  • Showcase multiple stores in one single map with ease
  • Search stores with highest accuracy results
  • Search for stores easily in various ways
  • Search store location with Google Map suggestion
  • [HOT] Search by current location
  • Search the nearest store
  • Showcase store’s information in neat & clean layout
  • Show store direction
  • Get store’s details in 1 click
  • Display featured product in store’s detail
  • Design option: custom design for each store
  • Social networks integrated
  • Customize locator page
  • Import store locations by CSV/ Json file
  • Integrated image gallery extension
  • Optimized for SEO

Buy Now

Magento 2 Layered Navigation

Are you looking for a fast, user-friendly navigation system which can allow your customers to browse your product catalog comfortably and impressively? Then, our new Layered Navigation Extension can satisfy you at the very first sight with its multiple filters, ajax load and user-friendly interface.

  • Fully Responsive & Mobile Optimized
  • Fast Ajax Product Filter
  • Flexible Vertical & Horizontal Filter
  • Apply Multiple Filter At Once
  • Layered Navigation On Homepage and CMS Page
  • Select multiple values at the same time
  • Price Slider & Numeric Filter
  • Remove All Selected Options At Once
  • Filter Products By Stock Availability
  • 2 Ways To Apply for Filter support: No catalog reloads until all filters selected, Reload catalog after a filter is applied ( Coming Soon)
  • Filter Product By Brand 
  • Extra Filter: new product, sale product, special product
  • Filter products by star ratings
  • Fully compatible With Free Brand Extensions
  • Price in Radio and Checkbox
  • Multiple Languages and RTL Languages
  • Multiple Stores Supported

Buy Now

Magento 2 Reward Points

“90% of all customers exchange their reward points during the checkout”. Have you offered reward points for your magento 2 stores? As you may know Reward Points is an effective marketing tool for you to engage shoppers and
turning old customers for new purchase over and over. Drive more sale and attract returning customers to your store.

  • Your visitors can be rewarded for multiple ways
  • [NEW] Earn Point by Refer to Friend
  • Earn points right after placing orders at your store
  • Spending points with ease: multiple ways supported
  • Track point’s balance, transaction, history in ” My account”
  • Add reward point for any specific product & multiple products
  • Freely Set Different Spending Point Rate & Earning Point Rate
  • Product based rule, cart-based rule, behavior-based rule, catalog based rule
  • Point transaction management
  • Set Max points earned or spent for each product
  • Refund By Points & Advanced Report 
  • Export Point Easily by CSV, Excel XML file
  • How To Spend Point & How To Earn Point Guide
  • Get Discount Code if Customer doesn’t have account yet
  • Send Notification Email & Auto Update Info If There are any changes.
  • Create orders for customers in backend using points
  • Point With Expiry & Set Duration for Point
  • You can hide price for the product

Buy Now

Magento 2 Advanced Reports

This is the fastest reporting tool for the order-heavy stores. No matter how heavy your store is, our magento 2 advanced reports will help you to monitor your business with ease.

  • 28+ Report Types to explore sales over a period of time, break it down by category and product.
  • Comprehensive Sale Overview
  • Report drill down to explore data fast and easily
  • Advanced Report to trace your sales performance in a real-time mode
  • Visual graphs ( bar, pie, line..) to illustrate trends
  • Option to filter data for different dates and days
  • Provides with Google Analytics-like visualized sales data metrics and charts
  • Clear Backend Interface
  • Extraordinary Useful Magento 2 Reports
  • Multiple skins
  • Customize chart display
  • Equipped with a profit-calculating formula
  • Live support and documentation & video tutorials
  • 28+ Types REST API Discover Sales
  • REST API for Third Party Magento

Buy Now

Magento 2 Help Desk Extension

Utilize ticket system, bring a powerful and flexible solution for Store Support! With Magento 2 Help Desk Extension, it helps you to collect all request, inquiries, offline chat messages, email in one place. All messages will be assigned to the proper department without leaking information.

  • Live Chat With Many Customer At Once
  • Fast & Smart Workflow To Minimize Time Wasted
  • Fully Responsive On Mobile, Tablet, Laptop & Desktop
  • Offer Multiple Ways For Customer To Get Support
  • Create Unlimited Departments, Agents and Categories
  • Clear User-friendly Interface
  • Easy To Create Ticket & Fast Submit
  • Solve urgent tickets first based on Priorities
  • Check Ticket Status, Quick Reply or Close a ticket
  • Autosave history and easy to Check ticket history
  • Satisfaction Star Rating
  • Quick Responses With Answer Shortcut
  • Ticket auto-expiration & Auto-reminder
  • Assigning tickets to the right manager or department fast
  • Spam Protection
  • Advanced reports
  • Set Permission For Each Department
  • Tailored for Multistore installations
  • Connect With Mailboxes

Buy Now

Magento 2 Follow Up Email

Use trigger emails to engage and maintain your customer’s interest! Faster follow-ups will give you a better chance to nurture conversation and convert sales. Magento 2 Follow Up Email lets you send custom email based on customer activities. Use email marketing to increase conversion rate & drive more sales now.

You can send numerous emails based on customer activities, order status. For example, when customer change order status from pending to fail, the extension will inform them to reorder. Or after customer abandons their checkout on your site, you can send an email to give assistance. Besides, you can send email for customer birthday, abandon the cart, last customer login, customer subscribe to the newsletter, etc.

Secondly, instead of sending for individuals, by using magento 2 follow-up email you can send an email to many customers at the same time. For example, you can send a reminder email to customers who haven’t visit your site for a long time with the promotion.

Buy Now

These extensions are often overlooked but have proven to be one of the most useful extensions that any Magento 2 store owner needs. As of this time, these are the best collection of Magento 2 extension available. We will expand this list once new extensions release. So, be sure to bookmark and check back on this post regularly to find out what new extensions have been released by the extensions development companies.

Yes! please do not forgot to add comments if you have list of other useful extensions. We will surely update this list based on your suggestions.

Enjoy Magento 2! Enjoy Magewallet!!