Search results for: magento-2

Magewallet | Magento 2 Extensions, Themes & Solutions

  • 1
  • April 12, 2016

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

  • 0
  • March 2, 2016

How to create Magento 2 widget

Magento has been the benchmark set amongst the e­-commerce frameworks available in the market. Magento Widgets are small Magento extensions with a predefined set of configuration options. Using them the store administrators can enrich the front-end blocks functionality. They provide great control and flexibility in creating informational and marketing content. Personally I see the widgets

  • 0
  • March 1, 2016

Magento 2 – How to load product by id

As you know there are so many alternate methods to get product details by given id in Magento 1.x. This code snippet will be very useful at many custom development with Magento. Lets check the code used in Magento 1.x.

List of some methods to get various product details like Short description, Name, Price

  • 0
  • February 29, 2016

Adding new category attribute in Magento 2

Sometimes you need to extend functionality of Magento 2 categories. In this article I would like to show you how to add a new custom category attribute. Let’s say, this attribute is needed to display/hide some content on the category page. Now let’s write our installation script under Setup folder. I’ve included comments within to

  • 1
  • February 28, 2016

Magento 2 – How to add calendar in admin configuration options?

Recently I have found one solution to add calendar in system configuration options. Lets discuss in detail. In order to add calendar in system configuration options, we have to add one system field and require one Block file. Use below code to add system field.

Now lets create Block file – Calendar.php


  • 2
  • February 25, 2016

How to get current CMS page id in Magento2

To get the id of current CMS page in Magento 2, use the following code snippet.

There are so many other methods to get CMS page details like title, identifier, content, and content heading. Lets check one by one. To get the identifier of the current CMS page you can use

To get

  • 2
  • February 20, 2016

Magento 2 – How to add WYSIWYG editor in admin configuration options?

In this blog post, we learn how to add WYSIWYG editor with textarea in admin system configuration options. First we will add one system config field in system.xml file. Use below code to add new field with the type Editor.

In order display WYSIWYG editor with this textarea we need one frontend block. so

  • 1
  • February 13, 2016

How to get parent product id in Magento 2?

As you know when we works with any customization work related to configurable product and simple product, we need some code snippet that helps us to find out the relation between parent and child product. Lets take one example, when we have one simple product (child product) and we need all the simple (child) product

  • 3
  • February 11, 2016

Magento 2 – Get current logged in customer details

In this blog post, we will see how to retrieve currently logged in customer details in Magento 2. We can retrieve the currently logged in customer details using an instance of \Magento\Customer\Model\Session model through constructor. After initialization of model instant, we need to store instantiated object into protected variable like $customerSession. Session model contains so

  • 1
  • February 10, 2016

How to Enable Maintenance Mode in Magento 2

In this post we will get the knowledge about how to enable Maintenance Mode in Magento 2 store so your visitors know that you’re working on your website. Magento uses maintenance mode while you’re maintaining, upgrading, or reconfiguring your site. In order to put your Magento 2 store in maintenance mode, you need to create


Latest Tweets