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

Change OrdeBy default option via Site Editor #482

Open
italo-aurelio opened this issue Jan 22, 2021 · 0 comments
Open

Change OrdeBy default option via Site Editor #482

italo-aurelio opened this issue Jan 22, 2021 · 0 comments
Labels

Comments

@italo-aurelio
Copy link

What are you trying to accomplish? Please describe.
I want to set and change default orderBy option via site editor, something like we do inside store.search context props called orderByField

What have you tried so far?

I've tried to change using that field, but looking into code this looks like something to set a "title" inside sort by option
image

I also see this option: https://help.vtex.com/tutorial/can-i-put-my-products-in-an-order-which-i-choose--qfWKX2ZekoEoayiyo0uuA but this needs to be hardcoded inside url, is something like this, but defined via site editor.

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

1 participant