How to use Mage::log method in Magento 2
There is a replacement of Mage::log method in Magento 2: Continue Reading
There is a replacement of Mage::log method in Magento 2: Continue Reading
To create Magento 2 custom collection query, use the same principle as in case of 1.x (Magento 2 SQL query syntax s the same). For instance: Continue Reading
To extend layout from vendor folder in Magento 2, move your xml file to: Continue Reading
To get product collection in custom template block in Magento 2, use the following code. It is a trick, since you should never use object manager directly, but at the same time the only way to avoid creating a new block: Continue Reading
To add new parameters to core model in Magento 2, declare extension attribute and use plugin on order repository. Thus you will populate/save card entities. The case is implemented
To set up custom response HTTP header from a controller in Magento 2, use the following code: Continue Reading
First of all, you should create the app/code/Company1/Module1/composer.json file in order to create custom helper in Magento 2: Continue Reading
To write files programmatically in Magento 2, use the following code: Continue Reading
To retrieve product information in Magento 2, utilize service layer. Use the following method: Continue Reading
Magento 2 Community Edition introduces a plethora of new features compared to 1.x, while Enterprise Edition offers even more advantages, including the Magento 2 split database solution. This significant improvement provides the ability to utilize 3 master databases simultaneously, increasing the performance of your ecommerce website. The Magento 2 split database feature incorporates such sections of the platform as orders, checkout, and product data. Each one can possess its own master database which supports replication, so you can easily scale load from Magento 2 checkouts, browsing, or order management and merchandising activities. Continue Reading