This gives me some issus (using repository)
1: Getting info out of array
Alle i get out of @queryResultItem.GetValue("GroupNames") is the string "System.String[]"
GroupIDs | System.String[] | System.String[]
GetLoop dose not help either
How do i loop tru a System.String[] array or output the id's?
2: With mulitble sites/languages, i need to filter so i only get products that belong to current site/language
I can in the query set a value to do this, but then i need to make multible querys
I can do it with Querystring to ad "LANG1" "SHOP1" but that do not look clean
Can i give the repository query a variable from the Razor template?