Magento 2: How the quantity_and_stock_status attribute value is populated in product object?

Well, a new product attribute that you may notice in Magento2 is quantity_and_stock_status. SELECT * FROM eav_attribute WHERE attribute_code = ‘quantity_and_stock_status’; Query Result: If you load a product object as: $product = $this->_productRepository->getById($productId); var_dump($product->getData()); You will see the value of quantity_and_stock_status as an array of is_in_stock and qty. You must be thinking from where the …

Read moreMagento 2: How the quantity_and_stock_status attribute value is populated in product object?

Configure your Bash Shell for Magento 2 CLI Commands

One of the major improvement in Magento 2 is the introduction of CLI commands based on Symfony Console Component. CLI commands can perform multiple tasks. Some of them are: Installing Magento (and related tasks such as creating or updating the database schema, creating the deployment configuration, and so on) Clearing the cache Managing indexes, including …

Read moreConfigure your Bash Shell for Magento 2 CLI Commands

Install & Configure Varnish Cache for Magento 2

Install / Configure Varnish Cache for Magento 2

The performance of a website is always the key factor for the higher conversion rate. Fortunately, Magento 2 (both CE & EE) comes by default with the support for FPC (Full Page Caching), Varnish & Redis to make your store fly. In this tutorial we will be discussing brief info about Varnish, it’s installation and …

Read moreInstall & Configure Varnish Cache for Magento 2

Create a Custom Shipping Module in Magento 2

As you know Magento 2 GA is already released on mid of November 2015. Now the development of Magento 2 components is taking by storm and the developers are especially busy with porting their popular Magento 1 extensions. In our case, We are already into Magento 2 development: busy porting some of our popular Magento …

Read moreCreate a Custom Shipping Module in Magento 2

Install Magento 2 module from GitHub or Bitbucket repository using Composer

In the previous article, we discussed How to install Magento 2 on MEMP (Mac OS X + Nginx + MySQL + PHP-FPM) stack using Composer In this article, we will discuss How to install Magento 2 modules from any GitHub or Bitbucket repositories. Let’s say we have Easy Template Path Hints (a Magento 2 module …

Read moreInstall Magento 2 module from GitHub or Bitbucket repository using Composer