Results 1 to 5 of 5

Thread: Catalog - access Data from two data table

  1. #1
    New user
    Join Date
    12-18-09.
    Posts
    24

    Default Catalog - access Data from two data table

    I am trying to create a property listing using catalog ext module. I have two type of catalog first for residential and second for commercial. Now i want show monthly special property from both residential and commercial. How i manage this requirement of my project?

  2. #2
    User
    Join Date
    06-19-09.
    Location
    Kosice, Slovakia
    Posts
    61

    Default Re: Catalog - accss Data from two data table

    I believe the easiest solution would be to create mysql view using union to include properties from both tables and then use listing module to show the results.
    S.C.A.R.E

  3. #3
    New user
    Join Date
    12-18-09.
    Posts
    24

    Default Re: Catalog - accss Data from two data table

    Any other solution ?

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    63

    Default Re: Catalog - access Data from two data table

    I'd rather have created a unique catalog, with a property type field to display only one type (residential or commercial) on the "standard" pages, and keep the opportunity to display both wherever I want.

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

    Default Re: Catalog - access Data from two data table

    You have done this correctly -- Create only 1 catalog but have a drop-down that chooses RESIDENTIAL or COMMERCIAL. Then you have a single catalog to run queries against. I prefer to have single catalogs than multiples.

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
  •