Forums Forums Search & Filter Pro Posts and Products

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #96186

    Hello,
    I would like to see posts and products all together on results page. It’s good. But when I add category listbox for posts and products category listbox then I see no results at all. Categories to include were chosen in settings. What can be a problem?

    Is there any chance to add Products as category to listbox with other post categories?

    Anonymous
    #96187

    As for categories I would like also to have same tags for post and products. How to make it?

    Trevor
    #96360

    Whilst products appears to have categories and tags, they are in fact Custom Taxonomies named product-category and product-tag, and so would be in separate search fields. Worse yet, if you select a Post category in search, it would by definition then exclude products completely from the search.

    By the same measure, if you add includes from more than one Category, Tag or Taxonomy in the settings, they act as an AND in the search (narrows the search results), so that if you have includes in Category and Product Category, you will most likely have no results.

    Whilst they may be reasons when you want to have one taxonomy across many post types, it is generally not a good idea. Similarly, where a search form has many post types, adding taxonomy form fields may cause problems unless they are common to each post type.

    I wrote a blog post some time ago about planning good site data structure.

    Anonymous
    #96389

    Hello Trevor,
    thank you very much for reply. Now I agree with you that my idea is not so good.
    I will read you post about data structure.
    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)