Closed imranhsayed closed 3 months ago
[x] All necessary links and content on the shop page should be dynamically fetched from the database.
[ ] Each link should go it it's respective page.
[x] Category links should go to /shop?category={id} and it should fetch and display all products from the category id added in the URL.
/shop?category={id}
[ ] The selected category name should display on the page and that category link should get highlighted.
[ ] User should be able to filter by brand too. /shop?brand{id}
/shop?brand{id}
[ ] Make the brands link and remove the checkbox.
[ ] User should be able to filter by size
[ ] Add to cart functionality should work and images should show properly. Take reference from the home page markup.
[x] Product count should be displayed dynamically
[x] If query params has query example /shop?query=men, then it should fetch results based on that query.
query
/shop?query=men
Acceptance Criteria
[x] All necessary links and content on the shop page should be dynamically fetched from the database.
[ ] Each link should go it it's respective page.
[x] Category links should go to
/shop?category={id}
and it should fetch and display all products from the category id added in the URL.[ ] The selected category name should display on the page and that category link should get highlighted.
[ ] User should be able to filter by brand too.
/shop?brand{id}
[ ] Make the brands link and remove the checkbox.
[ ] User should be able to filter by size
[ ] Add to cart functionality should work and images should show properly. Take reference from the home page markup.
[x] Product count should be displayed dynamically
[x] If query params has
query
example/shop?query=men
, then it should fetch results based on that query.