Bagisto Forum

    Bagisto

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

    how to add category wise filter

    Knowledge Base
    4
    25
    3310
    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.
    • M
      moncherry29 @ashish2409 last edited by

      @ashish2409 Ok thank you very much, if it is easier maybe we can do a phone call or something

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @moncherry29 last edited by

        @moncherry29

        "Hello there,
        you can raise a ticket and share all the details so that we can assist you better.

        Ticket Link -> https://webkul.uvdesk.com/en/customer/create-ticket/"

        M 1 Reply Last reply Reply Quote 0
        • M
          moncherry29 @ashish2409 last edited by

          @ashish2409

          I fixed the issue, i found it.

          In v2.0.0 in ProductRepository.php in the searchFromDatabase function there is an added line:

                       $qb->havingRaw('COUNT(*) = ' . count($attributes));
          

          If you remove this line everything works fine again.

          ashish2409 1 Reply Last reply Reply Quote 0
          • ashish2409
            ashish2409 @moncherry29 last edited by

            @moncherry29 said in how to add category wise filter:

            $qb->havingRaw('COUNT(*) = ' . count($attributes));

            Hello there,

            You can check V2.1.2 , there are many changes and its the stable version you can check the details here as well.

            https://github.com/bagisto/bagisto/blob/v2.1.2/packages/Webkul/Product/src/Repositories/ProductRepository.php

            I would suggest to go and check here as well.

            Thanks.

            ashish2409 1 Reply Last reply Reply Quote 0
            • ashish2409
              ashish2409 @ashish2409 last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • First post
                Last post