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

Why doesn't H₄O²⁺ exist?

Blender 2.8 I can't see vertices, edges or faces in edit mode

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

Doing something right before you need it - expression for this?

Brothers & sisters

Why is Collection not simply treated as Collection<?>

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?

Anagram holiday

Why does Kotter return in Welcome Back Kotter

How can I tell someone that I want to be his or her friend?

Arrow those variables!

Is the Joker left-handed?

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

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

What's the point of deactivating Num Lock on login screens?

Watching something be written to a file live with tail

Is it possible to run Internet Explorer on OS X El Capitan?

A reference to a well-known characterization of scattered compact spaces

How do conventional missiles fly?

How do I write bicross product symbols in latex?

Memorizing the Keyboard

90's TV series where a boy goes to another dimension through portal near power lines

Can a rocket refuel on Mars from water?



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 11 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 11 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 11 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 11 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

          Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

          Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

          Aasi (pallopeli) Navigointivalikko