Skip to content

Commit

Permalink
Fix bug: Added Quantity Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
SrinivasDevolper committed Jun 8, 2024
1 parent 055fa8c commit 99d4d7d
Show file tree
Hide file tree
Showing 3 changed files with 520 additions and 278 deletions.
1 change: 1 addition & 0 deletions js/addKartProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fetch("../json-api/product.json")
.then((data) => {
const query = getQueryParameter("query");
const filteredProducts = data.filter((product) => product.name == query);
console.log(filteredProducts, "flitering", data)
searchFetch(filteredProducts);
console.log(query)
})
Expand Down
Loading

0 comments on commit 99d4d7d

Please sign in to comment.