Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Create Custom Filters In Bagisto Version 2.0.0

    General Discussion
    2
    2
    233
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hossein last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        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.
        filter.png

        Hopefully, this will help to resolve your query.

        Thanks & Regards..!!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post