No products found

6 years 3 months ago #1821 by MichielStr

Currently when no products are found when searching, the component returns ALL products. How can I make it display a 'No products found' message?

Guess I have to be somewhere in items.php, but I don't know where...



  • Posts: 38
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 3 months ago #1822 by bram


  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 3 months ago #1823 by MichielStr

    Thanks, that partially solved it. However, I want a blank page and just the message. So no other products. How can I accomplish that?



  • Posts: 38
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 3 months ago #1824 by bram

    That's currently not possible, the 'view' doesn't know that the 'model' has executed a different query.

    needs to be implemented



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Time to create page: 0.034 seconds
    Powered by Kunena Forum