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

Magewallet | Magento 2 Extensions, Themes & Solutions

  • 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

Lets

  • 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

Top Magento 2 Themes
  • 3
  • February 8, 2016

The Best Responsive Magento 2 Themes

As you know, Magento 2 comes with new default theme under the name “Luma”. Luma is a very clean, easy on the eyes and elegant theme that has adopted better usability practices than it’s predecessor, Magento 1 default “Madison Island” theme. But in order to deal with different concept and latest design trends, Magento development

  • 1
  • January 15, 2016

How to check if customer is logged in or not in Magento 2?

As we know, there are so many situation where we require to check whether customer is currently logged in or not. In this blog post you will learn about how to check customer is logged in or not in Magento 2. In order to check this situation you can use below code snippet.

Once

  • 0
  • January 12, 2016

Ways to Enhance your PHP Development Skills

PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Developers are always looking for ways to improve their skills, and taking advantage of PHP’s versatility is a great way to create more robust and efficient code. There are many things that you

  • 2
  • January 10, 2016

Magento 2 – How to Reindex using Command line

In Magento 1.x, store owner can directly do reindex from Index management. But in Magento 2.x there is no direct options available for Reindex from backend. As Magento 2.x provides reindex using command line. So lets discuss about how to do reindex using command line. If you need to do whole index management in the

Newsletter

Latest Tweets