How to Retrieve list of Product attribute groups Magento 2?

Product attribute groups used to manage multiple Product attributes to specific Groups in creating or update Products in the Magento admin panel.

Get a list of Product attribute groups programmatically in Magento 2 using Magento\Catalog\Api\ProductAttributeGroupRepositoryInterface. Continue reading “How to Retrieve list of Product attribute groups Magento 2?”

How to Move Category position programmatically in Magento 2?

Move Category from one position to another using the move() method from the catalog module.

Function Definition from the interface Magento\Catalog\Api\CategoryManagementInterface, Continue reading “How to Move Category position programmatically in Magento 2?”

How to Get Category Tree Collection in Magento 2?

Get Category tree collection by the specific root category id Magento 2.

Magento has the interface to get the category tree by the Magento\Catalog\Api\CategoryManagementInterface with getTree() method. Continue reading “How to Get Category Tree Collection in Magento 2?”