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

Set master custom sort order #3238

Open
lvicentedh opened this issue Apr 5, 2024 · 2 comments
Open

Set master custom sort order #3238

lvicentedh opened this issue Apr 5, 2024 · 2 comments
Assignees
Labels

Comments

@lvicentedh
Copy link

There is a way to set up a product sorting, in categories and search results, based on the value of a custom attribute and ensure that this sorting is maintained even if another one is selected?

Ex : 3 products in the listing, 2 with available stock and 1 without stock. I need this out-of-stock product to always appear at the end of the listing regardless of the configured sorting (price, position, name...).

Regards,
Luis Vicente

@vahonc
Copy link
Collaborator

vahonc commented Apr 6, 2024

Hello @lvicentedh,

If you really, just need a way to move out-of-stock products to the bottom of the product list, just get inspired from this issue.

BR,
Vadym

@lvicentedh
Copy link
Author

Hello @vahonc,

Thank you for help. I configured an optimizer to keep out-of-stock products at the end of the listing; however, when another sorting is selected, the optimizer loses its effect. For my needs, it would be ideal for the optimizer to continue working regardless of the selected sorting. Is there a way to maintain the optimizer for all sorting options?

Regards,
Luis Vicente

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