Add category attribute Programmatically in Magento 2.

We can create custom category attribute programmatically in Magento 2 using simple module. In our demo we have created a simple text field attribute for a category.

You can see a category attribute in the backend using Catalog -> Categories Page.
Click on Any category and you can see our custom attribute in General Section after the category name.

Continue reading “Add category attribute Programmatically in Magento 2.”

How to upload Placeholder images in Magento 2?

A placeholder image is a default image for a store to draw attention to the need for an actual image. Its temporary image for an actual image.

Sometimes product actual images are not available at that time placeholder images to represent the product in a site for each place like catalog product page, listing page, mini cart and cart page.

Continue reading “How to upload Placeholder images in Magento 2?”