I show out of stock items on my website and they are all over the place but I dont want to get rid of them.

I want to sort the category so that products that are out of stock appear last, is this possible?

1 Answer 1


i use this module Rayfox Catalog, work fine for me. was try and test many solutions, but this IMHO best one.

in case of some conflicts possible in Models catalog/layer or catalogsearch/layer (this often used by other modules/themes for catalog sorting), you can try more simple module, with only one Observer - method used, without layer rewrites: Magento-StockSort (was not tested myself)

  • Im using a similar module but as im using ajax it randomly aranges products so i may see a product on page two that was on page one. Would you know of it works. I can test it tomorrow :) thanks May 22, 2016 at 23:14
  • was add more simple module link, when I have this task in past, was noticed that very dependent how many other modules/themes want rewrite this layers and may provide conflict with Rayfox_Catalog module May 22, 2016 at 23:50

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.