Bagisto Forum

    Bagisto

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

    Search products if price is more than 0

    General Discussion
    2
    2
    96
    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.
    • L
      LilD last edited by

      Hello, how can show only products if price is more than 0 when i use search for them?

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @LilD,

        I think you must be looking for this,
        https://github.com/bagisto/bagisto/blob/aace152a37e5b8e2406d2024237972bcbe4bf980/packages/Webkul/Product/src/Repositories/SearchRepository.php#L46

        Or this,
        https://github.com/bagisto/bagisto/blob/aace152a37e5b8e2406d2024237972bcbe4bf980/packages/Webkul/Velocity/src/Repositories/Product/ProductRepository.php#L109

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