I have simple and configurable products on listing page.

I am using special_price attribute for sorting. It is working for simple products but not working for configurable products.

I have assigned special_price for all associated products of configurable products but still it is not sorting.

I am using Magento 2.3.0. Can anyone suggest how can I do?

  • instead of special_price try to sort your collection by minimal_price Jun 27, 2019 at 6:48
  • @ShoaibMunir, I am talking about default collection on category page.minimal_price is not available by default. Jun 27, 2019 at 7:16
  • create new custom attribute 'Price Low to High' or something like this, and create you own sorting by minimal_price follow this for custom sorting magento.stackexchange.com/questions/275793/… Jun 27, 2019 at 7:22
  • @ShoaibMunir, can we not do using existing attribute special price? Jun 27, 2019 at 12:21
  • I guess it would be nearly impossible without custom coding Jun 27, 2019 at 12:26


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.