Create Custom Filters In Bagisto Version 2.0.0
-
Hi There
I would like to add some custom filters to the bagisto version 2.0.0. For example I would like to have some price links such "below $100" and "below $500". What is the best practice to achieve this?
Firstly, I can create an attribute which is not dynamic and I have to set it in panel admin, I need to make it dynamic. Please let me know if it's better to create a new route.
By the way, I need to make it globally for all products not a specific category.
Thanks. -
Hello @hossein
Greetings of the day..!!
To create a custom filter Bagisto >> packages >> Webkul >> Shop >> src >> Resources >> views >> categories >> filters.blade.php this file is responsible and hence you can create a new component for the filter and after that set the price according to your requirement in the URL because AJAX request will get call here. as shown below.
Hopefully, this will help to resolve your query.
Thanks & Regards..!!