We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40906
    • 23 Posts
    Hi There,

    I've got a website where I want my client to choose a Special Offer product to show on there Homepage.

    This is what the pages look like;

    Products (2)

    Category 1 (3)
    Product 1 (4)

    Category 2 (5)
    Product 2 (6)

    Now I want the client to choose a specific product. TV is setup as an Resource List and the parent is set to the ID 2.
    The problem is that this shows the client both category and products. I just want the TV to output the Children of ID 2, that would be the products (not the categories).

    Could someone tell me if this would be possible? Could this be done by filtering with the Where field?

    Thanks in advance.

    Coen

    This question has been answered by coensiebenheller. See the first response.

      • 44195
      • 293 Posts
      Hi,

      When you say category, do you mean a parent resource which the other resources are under?
        I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
        Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com
      • discuss.answer
        • 40906
        • 23 Posts
        Quote from: muzzstick at Dec 04, 2016, 10:51 PM
        Hi,

        When you say category, do you mean a parent resource which the other resources are under?

        I've already figured it out. But thanks anyway.

        I was looking for a way to show the children of a grandparent. So skip the parents.

        Products = Grandparent
        Category = Parent
        Product = Child

        Made it possible playing around with the pdoResources add on. smiley