Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category Sort By Direction with Default Sort Direction Config #3333

Closed
jesse-thomas opened this issue Jul 23, 2024 · 1 comment
Closed

Category Sort By Direction with Default Sort Direction Config #3333

jesse-thomas opened this issue Jul 23, 2024 · 1 comment
Assignees
Labels

Comments

@jesse-thomas
Copy link

The new category sort direction feature is awesome and definatly needed.

We had implemented our own default sort direction (xml layout), since we default sort by a Most Popular metric, but we need it descending. So when I installed the new feature all our categories changed to sorting asc, or by least popular first. As is, we would have to go to each category and change the setting to desc (hundreds of categories). A quick patch flipped the behavior but now i'm stuck with a patch.

A more flexible solution would be to add a system config setting for Default Sort Direction under the Configuration > Catalog > Catalog > "Product Listing Sort by" setting. Then add a "Use Config Settings" check box on the category form. Then a default could be set and fewer categories would need be chaged to set the default. It could also allow for the system to default to allowing layout xml or some other method to still have an effect on sort direcion.

Thanks for your consideration!

@vahonc vahonc self-assigned this Jul 30, 2024
@romainruaud romainruaud added the priority Priority label Aug 2, 2024
vahonc added a commit to vahonc/elasticsuite that referenced this issue Sep 3, 2024
vahonc added a commit to vahonc/elasticsuite that referenced this issue Sep 3, 2024
vahonc added a commit to vahonc/elasticsuite that referenced this issue Sep 9, 2024
romainruaud added a commit that referenced this issue Sep 26, 2024
…ck-to-use-default-sort-direction-2.10_feature

[Catalog] Feature #3333, add fallback to use system config value for Sort Direction
@romainruaud
Copy link
Collaborator

This was implemented in last releases.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants