How to Add Stock Status Column in Product Grid in Magento 2

Never miss Magento tips, tricks, tutorials, and news.
Thank you for subscribing.
Depending on the type of business and its requirements, the admin may want to add a custom column in the Magento 2 product grid.
Something went wrong.
Do not hesitate to post your doubts regarding this method in the Comments section below and I’d be happy to help.

Steps to Add Stock Status Column in Product Grid in Magento 2

  1. Login to Magento 2 admin panel.
  2. Navigate to Stores > Attributes > Products.
  3. Click on the ‘quantity_and_stock_status‘ attribute from the product attributes grid.How to Add Stock Status Column in Product Grid in Magento 2
  4. Set the Default Label from Attribute Properties that will display in the product grid later.How to Add Stock Status Column in Product Grid in Magento 2
  5. Set YES to Add to Column Options and click on the Save Attribute button from the Advanced Attribute Properties.
    How to Add Stock Status Column in Product Grid in Magento 2
  6. Select Stock Status or the name you have given to quantity_and_stock_status attribute from Columns option.How to Add Stock Status Column in Product Grid in Magento 2
  7. By enabling Stock Status, you can see the stock column which displays Instock and out of stock status in the products grid.How to Add Stock Status Column in Product Grid in Magento 2

Feel free to share the solution with Magento Community via social media.
For example, stock status is an important factor that the admin needs to monitor so that a customer may not return from his store due to the product unavailability.
That’s all.
So, if the admin can add stock status column in product grid in Magento 2, it would be easy to have an eye on the products’ inventory.

Get Weekly Updates

The default Magento 2 offers “Products” grid that lists the product name, ID, thumbnail, type, attribute set, SKU, price, quantity, etc. for the admin to easily manage the products in the online store.

Add the stock status column in Magento 2 product grid itself with the steps given below:
Thank You.

/**/

/*.mfp-bg{background:#000000d4}
/*]]>*/

/*.mfp-bg.mfp-ready{opacity:.6}
/*]]>*/

(based on 0 Reviews)