How to add custom Javascript in head in Magento 2
To add a custom Javascript file in head in Magento 2, use the following example: Continue Reading
To add a custom Javascript file in head in Magento 2, use the following example: Continue Reading
While overriding block via preference, Magento 2 can show an error when you add a core registry in a construct method. Continue Reading
Youк popup window can be based on the following example: Continue Reading
Most entrepreneurs are always trying to find out all pros and cons of every new tool they are going to utilize, and ecommerce platforms are not the exception. Since nowadays there are tons of available solutions, it is hard to decide which one deserves attention. Therefore, we are here willing to help you and in the following post will describe Magento 2 in comparison with its closest competitor OpenCart. You can also find a more detailed comparison and the guide to the Magento 2 OpenCart migration here: How to Migrate from OpenCart to Magento 2 or Sync Data Between Them. Continue Reading
The following Magento 2 tutorial will help you upgrade script for a new version of your extension by adding new tables and columns to a database. Continue Reading
In Magento 2, you can use the following code to redirect customers to another URL with the help of controller: Continue Reading
There are at least two use cases in this situation. In Magento 2 you can custom mini-libraries with such short popular global functions as rm_customer_logged_in(): Continue Reading
In Magento 2 there are several ways of showing and hiding blocks conditionally. If its visibility depends on a configuration settings value, use the
Unfortunately, Magento 2 offers a more complicated solution for checking whether you are in the admin panel.
To include the module name in Magento 2, you should use the following code: Continue Reading