I want to find variants and products by article numbers in search. I’ve seen a post about this (Search on variant article number no hit) but having trouble adding the tags to the search query. Do you have any tips on how to do this?
Litium version: 7.4
By “in search” - do you mean on the public site or in a custom search from code?
You could change ApplyFreeTextSearchTags from SearchQueryBuilder and add this to search for variant article number as well.
ApplyFreeTextSearchTags
SearchQueryBuilder
textClause.Tags.Add(new Tag(TagNames.VariantArticleNumbers, term));
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.