improved item information page

This commit is contained in:
2023-07-05 20:18:52 +02:00
parent b785dd8ca7
commit a7864b3c11
4 changed files with 62 additions and 1 deletions

View File

@ -72,7 +72,7 @@ function handleSearchChange(e) {
let htmlResult = ""
result.forEach(element => {
console.log(element);
htmlResult += `<a href="/${element.SKU}">${element.name}</a><br>`
htmlResult += `<a href="/s/${element.SKU}">${element.name}</a><br>`
});
autocompleteBox.innerHTML = htmlResult;