We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3186 ☆ A M B ☆
    • 279 Posts
    Hi all,

    I have implement SimpleSearch wich is almost fitting my needs. I would like to search inside a specific container. This ID could be setupped in the properties, no problem. My site structure:

    Products
    - category 1
    -- product 1
    -- product 2
    -- product 3
    - category 2
    -- product 4
    -- product 5

    etc.

    Nou I only want to display products and not include categories in the results. How do I do that? I have tried postHooks but can’t get it working. Does someone here have some experiance with this? Could I add a custom where, as liked in getResources?

    Thanks in advance

    Regards, Bert
      MODX Ambassador (NL) & Professional MODX developer
      Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
      MODX e-commerce solution SimpleCart