Sort products in category by stock quatity or stock availabiltyChange default category sort order by “in stock”Problem with sort by category?How do I sort product array on Checkout Page by the products mother-category IDs?Load out-of-stock products after the in-stock products in the category listingShow selected out of stock products in frontSort products by their product id in the order they were importedHow to sort product collection on stock statusHide out of stock productsHow to sort product in search result?Configurable products showing below out of stock products

Did Shadowfax go to Valinor?

What is going on with Captain Marvel's blood colour?

Can a rocket refuel on Mars from water?

Twin primes whose sum is a cube

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Intersection of two sorted vectors in C++

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

How to prevent "they're falling in love" trope

I'm flying to France today and my passport expires in less than 2 months

Why does Kotter return in Welcome Back Kotter

Facing a paradox: Earnshaw's theorem in one dimension

Theorems that impeded progress

Assassin's bullet with mercury

I would say: "You are another teacher", but she is a woman and I am a man

Is it legal for company to use my work email to pretend I still work there?

How can I make my BBEG immortal short of making them a Lich or Vampire?

Arrow those variables!

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?

Will google still index a page if I use a $_SESSION variable?

How do I write bicross product symbols in latex?

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

What mechanic is there to disable a threat instead of killing it?

Infinite Abelian subgroup of infinite non Abelian group example



Sort products in category by stock quatity or stock availabilty


Change default category sort order by “in stock”Problem with sort by category?How do I sort product array on Checkout Page by the products mother-category IDs?Load out-of-stock products after the in-stock products in the category listingShow selected out of stock products in frontSort products by their product id in the order they were importedHow to sort product collection on stock statusHide out of stock productsHow to sort product in search result?Configurable products showing below out of stock products






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















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?










share|improve this question
















bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    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?










    share|improve this question
















    bumped to the homepage by Community 14 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      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?










      share|improve this question
















      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?







      magento-1.9 category sorting






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 11 '16 at 15:03







      Mike Tim Turner

















      asked May 6 '16 at 16:25









      Mike Tim TurnerMike Tim Turner

      564421




      564421





      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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)






          share|improve this answer

























          • 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

            – Mike Tim Turner
            May 22 '16 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

            – Andriy Gonchar
            May 22 '16 at 23:50











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f114336%2fsort-products-in-category-by-stock-quatity-or-stock-availabilty%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          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)






          share|improve this answer

























          • 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

            – Mike Tim Turner
            May 22 '16 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

            – Andriy Gonchar
            May 22 '16 at 23:50















          0














          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)






          share|improve this answer

























          • 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

            – Mike Tim Turner
            May 22 '16 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

            – Andriy Gonchar
            May 22 '16 at 23:50













          0












          0








          0







          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)






          share|improve this answer















          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)







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 22 '16 at 23:46

























          answered May 22 '16 at 23:09









          Andriy GoncharAndriy Gonchar

          307138




          307138












          • 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

            – Mike Tim Turner
            May 22 '16 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

            – Andriy Gonchar
            May 22 '16 at 23:50

















          • 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

            – Mike Tim Turner
            May 22 '16 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

            – Andriy Gonchar
            May 22 '16 at 23:50
















          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

          – Mike Tim Turner
          May 22 '16 at 23:14





          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

          – Mike Tim Turner
          May 22 '16 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

          – Andriy Gonchar
          May 22 '16 at 23:50





          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

          – Andriy Gonchar
          May 22 '16 at 23:50

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f114336%2fsort-products-in-category-by-stock-quatity-or-stock-availabilty%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Nidaros erkebispedøme

          Birsay

          Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?