3

sitecore sxa - I am using paglist for showing product lists with the help of query builder and variants. its not showing proper order list, When in the query builder, I see that sort is an option, its not working in sxa pagelist component. Is there any other option to show the product items in orderwise.enter image description here

0
3

It shows based on the sorting on the base folder. in your case. (Product) is the folder, apply the sorting by right-clicking on it, and sort what you need. The default is the Sort by Relevance.

enter image description here

You can then select based on your criteria from the followings. enter image description here

Sorting it in Query:

you can use it in the item query:

use for sortorder:

+template:{227A17F5-E501-4B08-B263-CBAD3DEDEA1C};sort:sortorder

use for published date:

+template:{227A17F5-E501-4B08-B263-CBAD3DEDEA1C};sort:published

5
  • 1
    Small adjustment of your answer. it should be ;sort:sortorder to have same ordering as seen in Content Editor. Sortorder field should be used instead of Published Oct 16 '18 at 13:56
  • Hi, Thanks for your input. i already tried subitems sorting also. but i am not getting proper items order(default item order)
    – PKH
    Oct 16 '18 at 14:07
  • i tried this also( sort:sortorder ) . it ll not take the proper order using pagelist with build query.
    – PKH
    Oct 16 '18 at 14:09
  • Try resetting the sort order on the sub items of product and then check. Try checking in explore mode after published Oct 16 '18 at 14:45
  • @SitecoreSam Thanks this helps me out.
    – Sohail Ali
    Nov 17 '19 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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