Commit 8ebd20e
committed
Enhance allProducts method in ProductListController to support category filtering
This commit adds functionality to the allProducts method, allowing products to be filtered by category. It ensures that the category IDs are processed correctly, accommodating both single and multiple category selections. This improvement enhances the product listing experience by enabling users to view products based on their selected categories.1 parent 68ec5d0 commit 8ebd20e
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
| |||
0 commit comments