All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

"Show entries per single category" and showing all entries reordered on page without category in URL

thatdeadpixel 4 Apr 2018 18:33 question, complete

I have a single template for listing all products (/products/). It also lists products filtered by category (/products/category/nozzle/)

The tag is {exp:channel:entries channel="products" disable="member_data|category_fields|pagination" sort="asc" orderby="model_number"}

I'm trying to replace with a Low Reorder set which includes all products and I have Categories set to "Show entries per single category from group(s)". This allows me to reorder per category which is great. It also works on the front end when I'm viewing a category URL. But when viewing without a category filter at /products/, it's not displaying them in any order. I imagine it's because there is no category in there. Is there a way to set the reorder tag up so that it will display all entries reordered? Thanks!

{exp:low_reorder:entries set="products" disable="member_data|category_fields|pagination" category="{segment_3_category_id}" }

Replies

  1. Low 4 Apr 2018 20:16

    You'd need an additional set to display and order all entries regardless of category. When using the "Show entries per single category" option, you can't combine the orders per category into a single list.

  2. thatdeadpixel 5 Apr 2018 17:02

    dang, ok. I keep running into this issue. Someone else recommended maybe using Low Search to "filter" and that I could end up doing something similar to what I wanted. I haven't dug into that yet.

    I don't know if you are looking to add features or if it's even possible, but having the ability to reorder larger lists and display them by category in order on the front-end, OR keep the same "Show entries per single category from group(s)" functionality, but allow some way to display the whole set in order would be helpful...at least to me :)

    Thanks!

  3. Low 5 Apr 2018 18:31

    The reason why it would be tricky, if not impossible, to do this, is because entries can belong to multiple categories. Therefore, if you want to list all sub-sets for a given "Show entries per single category" set, it is possible that an entry would have to appear more than once.

    The native channel:entries tag, which LR uses, can only list an entry once in a sequence.

  4. thatdeadpixel 5 Apr 2018 18:36

    Thanks Low for the quick support!