Category: Magento 2

magento 2 add sales_order column 0

Magento 2 – add sales_order column

In this tutorial I show you how to add sales_order column with a custom attribute. Sometimes it is necessary to save additional information for your order. A good and simple place for such data...

magento 2 too many password reset requests error 0

Magento 2 – Too many password reset requests error

You may discovered a “too many password reset request” error while working on a programmatically password reset option or if a customer complains why his password reset does not work. Magento has a validation...

magento 2 patches 2.2.1 2.1.10 and 2.0.17 0

Magento 2 patches 2.2.1, 2.1.10 and 2.0.17 out

There are new Magento 2 Patches 2.2.1, 2.1.10 and 2.0.17 with security enhancements for all Magento 2 versions. It is, as always, recommended to install them immediately. Magento 2 Patches 2.2.1, 2.1.10 and 2.0.17...

magento 2 call sql statements 0

Magento 2 – call SQL statements

In this tutorial I show you how to call SQL statements directly to database with Magento 2. This is NOT the recommended solution, you should use models and collections as long as it is...

magento 2 delete objects 0

Magento 2 – delete objects

In this tutorial I show you how to delete objects in Magento 2. You may discovered a “Delete operation is forbidden for current area” error message if you want to call a delete function....

magento 2 get customer collection 0

Magento 2 – get customer collection

In this tutorial I show you how to get customer collection. If you want to programmatically change or get customers, this will be the obvious way to get customer objects. With a collection you...