Menu
Feedback
Known issues
Search doesn't encode hyphen and replaces it with a space
Marketing & Merchandising
ID:
Backlog
Published on5/29/2018
Last updated on12/22/2022
1 min read

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
Was this helpful?
Yes
No
Suggest Edits (GitHub)
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 VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback