Results 1 to 3 of 3

Thread: Catalog List Modul - Condition

  1. #1
    New user
    Join Date
    09-28-10.
    Posts
    1

    Default Catalog List Modul - Condition

    Hi,

    I want filter my catalog list by multiple ID's

    I know how I filter by one Item
    Code:
    product_category=2
    But how I can Filter bei multiple Items ?
    Code:
    product_category=2,3,4
    I want just get the categorys with the ID's 2, 3 and 4 but by this way I get a error.

    thanks

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Catalog List Modul - Condition

    Where are you putting the code that you're talking about? Is this in the Condition field of the listing module where you enter sql? Maybe you're trying to do this in the url. If so, I believe you can only display multiple categories for tag fields, so it doesn't work for select fields. With mod_rewrite, the syntax is: http://domain.com/pageName/field/option-1,option-2.html.

    You may also be interested in this extension to combine tag fields: http://www.contao.org/extension-list/vi ... 03.en.html

  3. #3
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Catalog List Modul - Condition

    SQL cannot support a query like that, you have to use FIND_IN_SET() -- please read the tutorial as this is covered in that.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •