Magento2.3 - How to Sort Products Based on Attribute Category The 2019 Stack Overflow...

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Is domain driven design an anti-SQL pattern?

aging parents with no investments

Unbreakable Formation vs. Cry of the Carnarium

What is the meaning of Triage in Cybersec world?

Geography at the pixel level

Confusion about non-derivable continuous functions

How to make payment on the internet without leaving a money trail?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

Where does the "burst of radiance" from Holy Weapon originate?

What tool would a Roman-age civilisation use to reduce/breakup silver and other metals?

Does a dangling wire really electrocute me if I'm standing in water?

"What time...?" or "At what time...?" - what is more grammatically correct?

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

How can I fix this gap between bookcases I made?

How long do I have to send payment?

Dual Citizen. Exited the US on Italian passport recently

Is bread bad for ducks?

Are there any other methods to apply to solving simultaneous equations?

Did USCIS resume its biometric service for UK visa?

How are circuits which use complex ICs normally simulated?

What is this 4-propeller plane?

Why is Grand Jury testimony secret?

Pristine Bit Checking



Magento2.3 - How to Sort Products Based on Attribute Category



The 2019 Stack Overflow Developer Survey Results Are InFilter Catalog search results and display it as 2 separate collection in a single pagedisplay particular category products in empty search result pageFilter Search Results using Attribute and CategoryMagento Search: Fulltext & Combine (Like and Fulltext) in relation to RelevanceHow to exclude or include specific category in catalog search result?URL Redirect from Catalog Search to Category PageSearch with content typesMagento-2 How to get custom product collection in catalog search result based on particular categorySort order by category id (or custom order)Magento2.3 display images of a category in .phtml





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







0















Is it possible to add an order by category attribute in the search catalog?



I would like to add search relevance based on category positions.
For example if I search Iphone the result returns to me: iphone case (whose category accessory) and then apple iphone (whose category gsm).



However I would like the result to display the products with the category gsm and then the category accessory, the result would be: apple iphone 7, apple iphone 8 and then iphone 7 case etc.









share





























    0















    Is it possible to add an order by category attribute in the search catalog?



    I would like to add search relevance based on category positions.
    For example if I search Iphone the result returns to me: iphone case (whose category accessory) and then apple iphone (whose category gsm).



    However I would like the result to display the products with the category gsm and then the category accessory, the result would be: apple iphone 7, apple iphone 8 and then iphone 7 case etc.









    share

























      0












      0








      0








      Is it possible to add an order by category attribute in the search catalog?



      I would like to add search relevance based on category positions.
      For example if I search Iphone the result returns to me: iphone case (whose category accessory) and then apple iphone (whose category gsm).



      However I would like the result to display the products with the category gsm and then the category accessory, the result would be: apple iphone 7, apple iphone 8 and then iphone 7 case etc.









      share














      Is it possible to add an order by category attribute in the search catalog?



      I would like to add search relevance based on category positions.
      For example if I search Iphone the result returns to me: iphone case (whose category accessory) and then apple iphone (whose category gsm).



      However I would like the result to display the products with the category gsm and then the category accessory, the result would be: apple iphone 7, apple iphone 8 and then iphone 7 case etc.







      magento2.3 catalogsearch





      share












      share










      share



      share










      asked 7 mins ago









      Kévin VuilleminKévin Vuillemin

      438




      438






















          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%2f269438%2fmagento2-3-how-to-sort-products-based-on-attribute-category%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%2f269438%2fmagento2-3-how-to-sort-products-based-on-attribute-category%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

          迭戈·戈丁...

          A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

          1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...