How to update custom category attribute via REST API V1/categories/:id Magento?

If you ever created a category custom attribute for your own business requirement and want to update its value using REST API, then the given article is best suitable for you.

Let’s Assume you have created a Custom Category attribute with boolean type in the Magento admin panel.

Custom Category Attribute code: is_featured Continue reading “How to update custom category attribute via REST API V1/categories/:id Magento?”

How to get Sub Category details by parent id Magento 2?

Get Sub Category (Child category) Collection details by the Parent Category id in Magento 2.

Using Parent Category Id, You can explore all the children category with deep level Or You can retrieve id by Current Category

When you check the Magento Open source sample data, You can see Men Category has direct two-child categories, Tops, and Bottoms at level 3 and both have other subcategories (Jacket, Tees, Pants, Shorts, etc) at level 4. Continue reading “How to get Sub Category details by parent id Magento 2?”

How to add Category Custom Layout Update XML file in Magento 2.3.4?

From Magento 2.3.4, Custom Layout Update Textarea removed from the admin panel category edit page, product edit page and cms edit page to remove the opportunity of Remote Code Execution (RCE). Replace Textarea with a selector.

Earlier you can add directly XML code snippet for the specific entity from the backend but from Magento 2.3.4 new feature was added. You need to create an XML file in your theme or module level and assign an XML file to the Custom Layout Update selector. Continue reading “How to add Category Custom Layout Update XML file in Magento 2.3.4?”