How to create a popup (modal) window on button click in Magento 2 admin
Youк popup window can be based on the following example: 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
To get access to working directories in Magento 2, you can declare the class in __constract: Continue Reading
Since Magento 2 relies on the concept of resources to interact with database, you can easily get the global resource and use it for playing with SQL queries or execute directly. Continue Reading