Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Search doesn't encode hyphen and replaces it with a space
Search doesn't encode hyphen and replaces it with a space
ID:
Backlog
Published on 5/29/2018
Last update on 12/22/2022

Summary

Warning: VTEX has two search options - VTEX search and VTEX Intelligent Search. This article refers to the VTEX search. To learn more about the VTEX Intelligent Search application, see this track.

When the searched term has a hyphen (-), the search replaces this character with a space in the querystring, not bringing the expected result.

Simulation

Perform a search on your site with the hyphen (-) character in the search term. Note that the hyphen value will be replaced by a space in the search.

Workaround

For products containing hyphen terms, enter in the field Substitute words the term with space in place of the hyphen for the product to be found in the search result.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback