1

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 – Shoaib Munir Jun 27 at 6:48
  • @ShoaibMunir, I am talking about default collection on category page.minimal_price is not available by default. – Vinod Kumar Jun 27 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/… – Shoaib Munir Jun 27 at 7:22
  • @ShoaibMunir, can we not do using existing attribute special price? – Vinod Kumar Jun 27 at 12:21
  • I guess it would be nearly impossible without custom coding – Shoaib Munir Jun 27 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.