Magento 2

Get Company Admin using company ID programmatically Magento 2 B2B

Get Company Admin using company ID programmatically Magento 2 B2B

You can get Company admin Programmatically by getAdminByCompanyId( ) function from CompanyManagementInterface. Magento\Company\Api\CompanyManagementInterface Interface will be used to get Company Admin-related data from the Company in Magento 2. You need a Company id to achieve this. You can get assigned a company admin details programmatically by the below way, Using this way you can get the customer object …

Uncovering Custom Extensions and Versions in Magento 2 Projects

In Magento 2, custom extensions play a crucial role in enhancing functionality and extending the capabilities of online stores. However, keeping track of these extensions and their respective versions can become challenging, especially in larger projects. In this blog post, we will explore a code snippet that allows you to effortlessly extract the names and …