Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Tuesday, June 14, 2022

How to Get Category Name by Category ID Using SQL in Magento 2

Categories play an essential role to classify products in the online store. For eCommerce businesses, categories helps to separate products and categories based on category names. 

The name of categories should appear on the top of the page. It may even happen that Magento developers only get category ID in the URL. 


Basically, almost all category name comprises of category ID. Whereas, finding the category name from the category ID is a bit time-consuming and lengthy process. 


Here, the solution to get category name by category ID using SQL in Magento 2.


 you can refer to the tutorial at: https://meetanshi.com/blog/get-category-name-by-category-id-using-sql-magento-2/



No comments:
Write comments


Get more of our update !