How to show All products with category filter
-
Hi @admin
1 - I want to add a link to mane and called "All Products". is there any API or route to show all products?2- on this page ("All Products") I would like to have categories as filter in sidebar. Is it possible?
thank you -
Hello @hossein
Greetings of the day..!!
-
There is no API regarding this but you get all the products by this method in the core getAll()
-
To add categories as sidebar you can add it from the packages >> Webkul >> Shop >> src >> Resources >> views >> categories >> view.blade.php This file is responsible for this.
Thanks & Regards..!!
-