Magento 2 - Category page sorting does not work on grouped products Planned maintenance...

Why aren't air breathing engines used as small first stages

old style "caution" boxes

How to find all the available tools in mac terminal?

How to answer "Have you ever been terminated?"

What causes the direction of lightning flashes?

Why are both D and D# fitting into my E minor key?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Is there such thing as an Availability Group failover trigger?

What font is "z" in "z-score"?

Crossing US/Canada Border for less than 24 hours

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Amount of permutations on an NxNxN Rubik's Cube

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source

Wu formula for manifolds with boundary

What does "lightly crushed" mean for cardamon pods?

If a contract sometimes uses the wrong name, is it still valid?

Can an alien society believe that their star system is the universe?

Around usage results

Using et al. for a last / senior author rather than for a first author

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

How do I find out the mythology and history of my Fortress?

How to react to hostile behavior from a senior developer?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?



Magento 2 - Category page sorting does not work on grouped products



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How do I sort product array on Checkout Page by the products mother-category IDs?how do I sort related products by position? magento 1.6How to add custom options for categories product sorting in magento adminHow to Change Sort by option in Filter Magento 2max price for grouped product in magento 2Lowest price of Configurable product (“as low as”)Magento 2 sort optionsMagento 2.2.4 Product sorting list by price on category page - How to fix Low to High Sorting IssueHelp with Magento 2.3 custom product sort pluginGrouped product (simple product sorting on price) Magento 2





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







0















I added the new product sorting attribute related to price in category page like price low to high and price high to low. It showed on Sort By drop down. It is working fine for configurable product and simple product but the problem is, it is working grouped products case.



Grouped product shows the price of their lowest simple product price in category page.




For Reference please see the screenshot




enter image description here




For Reference I use code for price sorting




$collection->getSelect()->order("price_index.final_price asc");


Any help, experience and knowledge sharing would be appreciated.









share





























    0















    I added the new product sorting attribute related to price in category page like price low to high and price high to low. It showed on Sort By drop down. It is working fine for configurable product and simple product but the problem is, it is working grouped products case.



    Grouped product shows the price of their lowest simple product price in category page.




    For Reference please see the screenshot




    enter image description here




    For Reference I use code for price sorting




    $collection->getSelect()->order("price_index.final_price asc");


    Any help, experience and knowledge sharing would be appreciated.









    share

























      0












      0








      0








      I added the new product sorting attribute related to price in category page like price low to high and price high to low. It showed on Sort By drop down. It is working fine for configurable product and simple product but the problem is, it is working grouped products case.



      Grouped product shows the price of their lowest simple product price in category page.




      For Reference please see the screenshot




      enter image description here




      For Reference I use code for price sorting




      $collection->getSelect()->order("price_index.final_price asc");


      Any help, experience and knowledge sharing would be appreciated.









      share














      I added the new product sorting attribute related to price in category page like price low to high and price high to low. It showed on Sort By drop down. It is working fine for configurable product and simple product but the problem is, it is working grouped products case.



      Grouped product shows the price of their lowest simple product price in category page.




      For Reference please see the screenshot




      enter image description here




      For Reference I use code for price sorting




      $collection->getSelect()->order("price_index.final_price asc");


      Any help, experience and knowledge sharing would be appreciated.







      magento2 magento-enterprise sorting product-prices category-page





      share












      share










      share



      share










      asked 3 mins ago









      Muhammad HashamMuhammad Hasham

      2,9252931




      2,9252931






















          0






          active

          oldest

          votes












          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%2f270573%2fmagento-2-category-page-sorting-does-not-work-on-grouped-products%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f270573%2fmagento-2-category-page-sorting-does-not-work-on-grouped-products%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...