Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Sort Magento 2 Category Products by Stock Quantity

  1. #1
    Junior Member
    Join Date
    Dec 2017
    Thanked 0 Times in 0 Posts

    Default How to Sort Magento 2 Category Products by Stock Quantity

    For Magento 2 store owners, it is important to design the frontend of the store keeping the product stock in mind. The products having more quantity must be featured or displayed in the first fold rather than out of stock products. For that, one has to custom code to sort Magento 2 category products by stock quantity.

    Name:  How-to-Sort-Magento-2-Category-Products-by-Stock-Quantity.png
Views: 11
Size:  18.5 KB

    If a customer orders an out of stock product, his order processing takes time and hence it may deteriorate the customer experience and creates a first bad impression.

    To avoid such a situation, sort Magento 2 category products by stock quantity and learn the method for the same at

    View more threads in the same category:

  2. #2
    Junior Member
    Join Date
    Oct 2016
    Thanked 2 Times in 2 Posts


    Thanks for sharing this amazing extension!

    You can also check out one more wonderful extension here: Magento 2 Extension - Advanced Sorting. It helps to add custom sorting options to make products easier to find. This extension gives effective options to customers for product sorting – by bestsellers, most viewed, biggest saving, rating, and more.

    Highlighted Features:
    • Easy To Install & Manage
    • Enable/Disble From Backend
    • Select Multiple Sort Option
    • Set Default Product Listing Sort by
    • More user-friendly site for customers

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts