Magento 2

Magento 2 – Disable Compare Products

Magento 2 provides many useful features out of the box. However, not every store requires product comparison functionality and it should be removed. Unfortunately, there is no simple way to disable compare products in Magento 2. The most popular way of removing is using layout updates. You can add layout instructions to remove compare blocks 

Continue Reading…

How to check Magento version in Magento 2

You can easily get Magento 2 version in the code using the following constant:

This interface is located in vendor/magento/framework/AppInterface.php file. For more information you can check this class: \Magento\Framework\App\ProductMetadata Also, as usual, the version is being displayed in the footer in the admin area.