Counting products per attribute set using SQL (Magento 2)

It can be useful to count how many products belong to each attribute set. The simplest approach in Magento 2 is the following SQL query:

The result lists the number of products assigned to each attribute set.

Setting the OpenSearch host and port via CLI (Magento 2)

To configure OpenSearch as your Magento 2 search engine from the command line (CLI), run these three commands:

The final command is optional and only necessary if OpenSearch was not already configured as the search engine.

Fixing The attribute ‘title’ is required but missing in acl.xml (Magento 2)

When creating a Magento 2 extension with an acl.xml file, you may encounter the error The attribute ‘title’ is required but missing . You can resolve it by adding a title attribute to your resource element:

In this example,…