Results 1 to 3 of 3

Thread: [Catalog 2] Products in several categories

  1. #1
    New user
    Join Date
    02-26-10.
    Posts
    21

    Default [Catalog 2] Products in several categories

    category={{env:age_id}} doesn't work when I add a product to several categories.

    In the database I have category [15,12,24...] and it does not work.

    any suggestions?

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

    Default Re: [Catalog 2] Products in several categories

    It does work, you just didn't think that one through, because the category will contain a value like:
    5,7,1,3,6,44 which can never match a single value.

    If you follow the Tutorial section, we have a FIND_IN_SET() function that will lookup a single value in a field with a comma separated list.

  3. #3
    New user
    Join Date
    02-26-10.
    Posts
    21

    Default Re: [Catalog 2] Products in several categories

    works , thanks

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
  •