Commit 9eebbbe
committed
Enhance allProducts method in ProductListController to support seller mode filtering
This commit adds functionality to the allProducts method, allowing products to be filtered based on the seller mode. It introduces a new query condition that checks for the 'seller_mode' input, enabling users to view wholesale products. Additionally, it includes logging for better traceability of the filtering process.1 parent 5f8c098 commit 9eebbbe
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
| |||
0 commit comments